Update vim

This commit is contained in:
akmtxc 2021-01-08 16:50:42 +05:00
parent e7bade05f1
commit 62ad963853
1 changed files with 22 additions and 0 deletions

22
vimrc
View File

@ -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