[vim]Manage NerdTree with vundle
This commit is contained in:
parent
35a6a11984
commit
c79e28109d
File diff suppressed because it is too large
Load Diff
16
.vimrc
16
.vimrc
@ -13,7 +13,8 @@
|
|||||||
" F8 view tag list
|
" F8 view tag list
|
||||||
" S-F8 build ctags/cscope databases
|
" S-F8 build ctags/cscope databases
|
||||||
" M-F8 build kernel ctags/cscope databases
|
" M-F8 build kernel ctags/cscope databases
|
||||||
" F9 Show diff line
|
" F9 Open NerdTree
|
||||||
|
" M-F9 Show diff line
|
||||||
" S-F9 Highlight diff line
|
" S-F9 Highlight diff line
|
||||||
" M-F10 diff tool
|
" M-F10 diff tool
|
||||||
" F10 folding
|
" F10 folding
|
||||||
@ -422,9 +423,15 @@ colorscheme mycolor
|
|||||||
cnoremap sudow w !sudo tee % >/dev/null
|
cnoremap sudow w !sudo tee % >/dev/null
|
||||||
|
|
||||||
"""""""""""
|
"""""""""""
|
||||||
" gitgutter
|
" NerdTree
|
||||||
"""""""""""
|
"""""""""""
|
||||||
map <F9> :GitGutterSignsToggle <CR>
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
||||||
|
map <F9> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
"""""""""""
|
||||||
|
" GitGutter
|
||||||
|
"""""""""""
|
||||||
|
map <M-F9> :GitGutterSignsToggle <CR>
|
||||||
map <S-F9> :GitGutterLineHighlightsToggle <CR>
|
map <S-F9> :GitGutterLineHighlightsToggle <CR>
|
||||||
|
|
||||||
"""""""""
|
"""""""""
|
||||||
@ -465,6 +472,9 @@ Plugin 'MarcWeber/vim-addon-mw-utils'
|
|||||||
Plugin 'honza/vim-snippets'
|
Plugin 'honza/vim-snippets'
|
||||||
Plugin 'garbas/vim-snipmate'
|
Plugin 'garbas/vim-snipmate'
|
||||||
|
|
||||||
|
" Filesystem exploration
|
||||||
|
Plugin 'scrooloose/nerdtree'
|
||||||
|
|
||||||
" Python completion
|
" Python completion
|
||||||
"Plugin 'klen/python-mode'
|
"Plugin 'klen/python-mode'
|
||||||
"" Python Bundle
|
"" Python Bundle
|
||||||
|
Loading…
Reference in New Issue
Block a user