-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
executable file
·40 lines (34 loc) · 953 Bytes
/
vimrc
File metadata and controls
executable file
·40 lines (34 loc) · 953 Bytes
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
set nocompatible
set go-=T
set number
set smartindent
set tabstop=2
set shiftwidth=2
filetype plugin on
filetype indent on
set autochdir
syntax on
set t_Co=256
set laststatus=2
color wombat256i
set foldmethod=indent
set foldlevelstart=20
nnoremap <space> za
:nmap <silent> <C-D> :NERDTreeToggle<CR>
autocmd VimEnter * wincmd p
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
call plug#begin()
"Plug 'kien/ctrlp.vim'
Plug 'scrooloose/nerdtree'
Plug 'Valloric/YouCompleteMe'
Plug 'junegunn/fzf', { 'do': './install --bin' }
Plug 'junegunn/fzf.vim'
Plug 'dracula/vim', { 'as': 'dracula' }
call plug#end()
nnoremap <leader>jd :YcmCompleter GoToDefinition<CR>
nnoremap <silent> <leader>c :execute "set colorcolumn=" . (&colorcolumn == "" ? "80" : "")<CR>
nmap <silent> <C-P> :Files<CR>
let g:fzf_tags_command = 'ctags -R'
"let g:dracula_italic = 0
"let g:dracula_colorterm = 0
"colorscheme dracula