forked from DawidPi/VimCpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
56 lines (42 loc) · 1.07 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
set autoindent
set smartindent
set tabstop=2
set shiftwidth=2
set expandtab
set textwidth=120
set hidden
syntax on
set number
set showmatch
" dunno what this is
set comments=sl:/*,mb:\ *,elx:\ */
set grepprg=ack
set nocompatible "they told me this is good. I trust them
set backspace=indent,eol,start
map <C-e> :NERDTreeToggle<CR>
map <C-b> :GtagsCursor<CR>
map <C-n> :cn<CR>
map <C-m> :cp<CR>
map <leader>nt :NERDTreeFind<CR>
map <leader>t :TagbarToggle<CR>
map <leader>f :YcmCompleter FixIt<CR>
let g:lt_quickfix_list_toggle_map = '<leader>l'
let g:rtagsUseLocationList = 0
" for issues with NERDTree
let g:NERDTreeDirArrows = 1
let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾'
let g:NERDTreeGlyphReadOnly = "RO"
set tags=./tags;,tags
" requires vim-plug
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree'
Plug 'octol/vim-cpp-enhanced-highlight'
Plug 'kien/ctrlp.vim'
Plug 'vim-airline/vim-airline'
Plug 'lyuts/vim-rtags'
Plug 'Valloric/YouCompleteMe'
Plug 'majutsushi/tagbar'
Plug 'Valloric/ListToggle'
Plug 'dracula/vim'
call plug#end()