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
|
" NERDtree
|
||||||
nnoremap <F3> :NERDTreeFocus<CR>
|
nnoremap <F3> :NERDTreeFocus<CR>
|
||||||
nnoremap <leader>nt :NERDTreeFocus<CR>
|
nnoremap <leader>nt :NERDTreeFocus<CR>
|
||||||
|
nnoremap <leader>nf :NERDTreeFind<CR>
|
||||||
" allow closing if only window open is a NERDTree
|
" allow closing if only window open is a NERDTree
|
||||||
augroup nerdtreewindow
|
augroup nerdtreewindow
|
||||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
||||||
|
|
Loading…
Reference in New Issue