add nerd-commenter Plugin to vimrc
This commit is contained in:
parent
702ef2f2e1
commit
9fe59e32fc
1 changed files with 11 additions and 5 deletions
16
.vimrc
16
.vimrc
|
@ -23,7 +23,7 @@ Plugin 'vim-syntastic/syntastic'
|
||||||
" pep8 checking
|
" pep8 checking
|
||||||
Plugin 'nvie/vim-flake8'
|
Plugin 'nvie/vim-flake8'
|
||||||
|
|
||||||
" autocomplete
|
" autocomplete
|
||||||
" Bundle 'Valloric/YouCompleteMe'
|
" Bundle 'Valloric/YouCompleteMe'
|
||||||
|
|
||||||
" search for files
|
" search for files
|
||||||
|
@ -35,6 +35,9 @@ Plugin 'flazz/vim-colorschemes'
|
||||||
" nert-tree
|
" nert-tree
|
||||||
Plugin 'scrooloose/nerdtree'
|
Plugin 'scrooloose/nerdtree'
|
||||||
|
|
||||||
|
" nerd-commenter
|
||||||
|
Plugin 'scrooloose/nerdcommenter'
|
||||||
|
|
||||||
" git
|
" git
|
||||||
Plugin 'tpope/vim-fugitive'
|
Plugin 'tpope/vim-fugitive'
|
||||||
|
|
||||||
|
@ -108,11 +111,11 @@ nnoremap <leader>f za
|
||||||
let g:SimpylFold_docstring_preview=1
|
let g:SimpylFold_docstring_preview=1
|
||||||
" html css js indents
|
" html css js indents
|
||||||
au BufNewFile,BufRead *.js, *.html, *.css
|
au BufNewFile,BufRead *.js, *.html, *.css
|
||||||
\ set tabstop=4 |
|
\ set tabstop=4 |
|
||||||
\ set softtabstop=4 |
|
\ set softtabstop=4 |
|
||||||
\ set shiftwidth=4
|
\ set shiftwidth=4
|
||||||
|
|
||||||
" you complete me setup
|
" you complete me setup
|
||||||
let g:ycm_autoclose_preview_window_after_completion=1
|
let g:ycm_autoclose_preview_window_after_completion=1
|
||||||
map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>
|
map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>
|
||||||
|
|
||||||
|
@ -123,3 +126,6 @@ map <leader>n :NERDTreeToggle<CR>
|
||||||
" airline tabs
|
" airline tabs
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
|
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
|
||||||
|
|
||||||
|
" nerd-commenter setup
|
||||||
|
let g:NERDSpaceDelims = 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue