To create a new file or folder in NerdTree, bring up the NerdTree menu by typing
m. This brings up a multiple options including:
(a)dd a childnode (m)ove the current node (d)elete the current node (r)eveal in Finder the current node (o)pen the current node with system editor (q)uicklook the current node (c)opy the current node (l)ist the current node
So now you press
a and can type in the file name or the folder that you want to create.
IF you decide you don’t want to create or use any of the menu options and get out of this menu, a simple
CTRL+C will get you out.
q! to quit vim - if you have one file open.
qa! to close all files and quit!