dwyl / learn-vim

💻 Learn how to use the Vim (or Helix!) text editor to write/edit code *much* faster and get more done in less time! ⏳❤️ ✅
9 stars 0 forks source link

Creating a new file or directory in Vim using NERDTree #13

Closed nelsonic closed 5 years ago

nelsonic commented 5 years ago

Creating a New File or Directory using NERDTree

First, bring up NERDTree and navigate to the directory where you want to create the new file. Press m to bring up the NERDTree Filesystem Menu. This menu allows you to create, rename, and delete files and directories. Type a to add a child node and then simply enter the filename. You’re done! To create a directory follow the same steps but append a / to the filename.

Props to @soofaloofa for summarising this in https://sookocheff.com/post/vim/creating-a-new-file-or-directoryin-vim-using-nerdtree/ ❤️

Using it: image