From 9fe59e32fc7e3bf126b00e4f80a431195454fc8b Mon Sep 17 00:00:00 2001 From: Jidbo Date: Wed, 21 Nov 2018 14:14:09 +0100 Subject: [PATCH] add nerd-commenter Plugin to vimrc --- .vimrc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.vimrc b/.vimrc index 5c90425..749aa5e 100644 --- a/.vimrc +++ b/.vimrc @@ -23,7 +23,7 @@ Plugin 'vim-syntastic/syntastic' " pep8 checking Plugin 'nvie/vim-flake8' -" autocomplete +" autocomplete " Bundle 'Valloric/YouCompleteMe' " search for files @@ -35,6 +35,9 @@ Plugin 'flazz/vim-colorschemes' " nert-tree Plugin 'scrooloose/nerdtree' +" nerd-commenter +Plugin 'scrooloose/nerdcommenter' + " git Plugin 'tpope/vim-fugitive' @@ -108,11 +111,11 @@ nnoremap 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 +" you complete me setup let g:ycm_autoclose_preview_window_after_completion=1 map g :YcmCompleter GoToDefinitionElseDeclaration @@ -123,3 +126,6 @@ map n :NERDTreeToggle " 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