add nerd-commenter Plugin to vimrc

This commit is contained in:
Jidbo 2018-11-21 14:14:09 +01:00
parent 702ef2f2e1
commit 9fe59e32fc

12
.vimrc
View file

@ -35,6 +35,9 @@ Plugin 'flazz/vim-colorschemes'
" nert-tree
Plugin 'scrooloose/nerdtree'
" nerd-commenter
Plugin 'scrooloose/nerdcommenter'
" git
Plugin 'tpope/vim-fugitive'
@ -108,9 +111,9 @@ nnoremap <leader>f za
let g:SimpylFold_docstring_preview=1
" html css js indents
au BufNewFile,BufRead *.js, *.html, *.css
\ set tabstop=4 |
\ set softtabstop=4 |
\ set shiftwidth=4
\ set tabstop=4 |
\ set softtabstop=4 |
\ set shiftwidth=4
" you complete me setup
let g:ycm_autoclose_preview_window_after_completion=1
@ -123,3 +126,6 @@ map <leader>n :NERDTreeToggle<CR>
" airline tabs
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
" nerd-commenter setup
let g:NERDSpaceDelims = 1