Arpit Rai
Arpit Rai

Reputation: 1027

VIM - NerdTree command for opening all sub-folders under a folder in 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.

Upvotes: 22

Views: 11172

Answers (2)

Navi
Navi

Reputation: 8736

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

Upvotes: 49

Sarah
Sarah

Reputation: 6695

I may be misunderstanding your question, but doesn O do what you need? (capital o)

Upvotes: 5

Related Questions