Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM - NerdTree command for opening all sub-folders under a folder in NerdTree

Tags:

vim

nerdtree

In VIM-NerdTree, I press Enter to open a folder but how do I open a folder and all its sub-folders in NerdTree through a single command?

I don't want to open any file. I just want all sub-folders to be open so that I can view the various filenames.

like image 306
Arpit Rai Avatar asked Jan 20 '11 09:01

Arpit Rai


People also ask

How do I show hidden files in NERDTree?

Press I ( Shift + i ) to toggle hidden files in the NERDTree explorer window. For more detail, access the NERDTree help file :help NERD_tree. txt and search for "hidden". And to hide hidden files by default, put let NERDTreeShowHidden=0 into your vimrc.


1 Answers

If you press ? you see the help. O opens recursively the nodes. o just opens the nodes. I think you need one of those.

like image 156
Navi Avatar answered Sep 18 '22 21:09

Navi