Update vim
This commit is contained in:
parent
e7bade05f1
commit
62ad963853
22
vimrc
22
vimrc
|
@ -12,15 +12,37 @@ Plug 'romainl/flattened'
|
|||
" https://github.com/sickill/vim-monokai
|
||||
Plug 'sickill/vim-monokai'
|
||||
|
||||
" https://vimawesome.com/plugin/syntastic
|
||||
Plug 'vim-syntastic/syntastic'
|
||||
|
||||
call plug#end()
|
||||
|
||||
" syntastic opts
|
||||
set statusline+=%#warningmsg#
|
||||
set statusline+=%{SyntasticStatuslineFlag()}
|
||||
set statusline+=%*
|
||||
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
let g:syntastic_auto_loc_list = 1
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
|
||||
" display lightline
|
||||
set laststatus=2
|
||||
set noshowmode
|
||||
|
||||
" NerdTree opts
|
||||
let NERDTreeShowHidden=1
|
||||
autocmd VimEnter * NERDTree
|
||||
autocmd VimEnter * wincmd p
|
||||
|
||||
" maps
|
||||
map <C-v> :Ex<CR>
|
||||
map <C-c> :tabnew<CR>
|
||||
map <C-x> :tabn<CR>
|
||||
map <C-b> "*p<CR>
|
||||
map <C-y> "*y<CR>
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
|
||||
colorscheme monokai
|
||||
|
||||
|
|
Loading…
Reference in New Issue