in: h NERDTree:
:NERDTreeFind :NERDTreeFind Find the current file in the tree. If no tree exists for the current tab, or the file is not under the current root, then initialize a new tree where the root is the directory of the current file.
I do not think that it is tied to anything by default, so you need to make the key itself.
nmap ,n :NERDTreeFind<CR>
is what appears in my .vimrc, along with
nmap ,m :NERDTreeToggle<CR>
Thomas 07 Oct '11 at 20:01 2011-10-07 20:01
source share