nerdtreefind mapping
This commit is contained in:
parent
16c1992533
commit
156b8ceaa1
1
vimrc
1
vimrc
|
@ -416,6 +416,7 @@ let g:UltiSnipsJumpBackwardTrigger='<c-z>'
|
|||
" NERDtree
|
||||
nnoremap <F3> :NERDTreeFocus<CR>
|
||||
nnoremap <leader>nt :NERDTreeFocus<CR>
|
||||
nnoremap <leader>nf :NERDTreeFind<CR>
|
||||
" allow closing if only window open is a NERDTree
|
||||
augroup nerdtreewindow
|
||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
||||
|
|
Loading…
Reference in New Issue