tags:

views:

217

answers:

1

I have been using NERDTree for a while. Every time I need to create a new directory I need to go to terminal. Is there a quick and easy way to create a directory using NERDTree.

I read the doc but could not find anything.

+6  A: 

When in the NERDTree window, press 'm'; you should see a menu at the bottom. Type in 'a' for add childnode. Now input the directory you want to create, making sure to add a '/' at the end, otherwise the script would create a file.

AFAIK NERDTree cannot create parent directories like 'mkdir -p' does.

housetier
when type a I get an error Error detected while processing function <SNR>_15_showMenu..... . Culprit could be some other plugin. I will debug it later. thanks.
Nadal