Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hiding NERDTree in VIM

Tags:

vim

Does anyone have any clue on how I can toggle the TREE on and off ?

I went throught the help section of NERDTree plugin and don't see an option there ?

If anyone out there has discovered how to do this.. kindly share

like image 523
runtimeZero Avatar asked Oct 27 '25 14:10

runtimeZero


1 Answers

the :NERDTreeToggle cmd does it.

personally I have

"toggle nerdtree
nnoremap <F2> :NERDTreeToggle<cr>

in my vimrc. it allows me to press <F2> to show/hide nerdtree

like image 74
Kent Avatar answered Oct 29 '25 09:10

Kent