I use Vim plugin NerdTree. If I have to quickly add a file, the NerdTreeMenu I get by pressing m is very helful.
How I can close my NerdTreeMenu? I'm unable to find information in any documentation on closing the NerdTree menu.
I use Vim plugin NerdTree. If I have to quickly add a file, the NerdTreeMenu I get by pressing m is very helful.
How I can close my NerdTreeMenu? I'm unable to find information in any documentation on closing the NerdTree menu.
It is either :NERDTreeClose to close it, or :NERDTreeToggle to toggle it on and off :)
Edit: @Gustav Blomqvist reminded me, that you can also use the classic vim exit commands while the NERDTree window is in focus:
:q
ZZ 2x(Shift + z)
^Wq (Ctrl-w + q)
:q in the NERDTree window also works. :)
A tip is to bind :NERDTreeToggle
Ctrl+n to toggle NERDTree
nnoremap <C-n> :NERDTreeToggle<CR>