I checked the documentation and I couldn't find a way o renaming or copying files and folder using NERDTree. Is it possible?
To rename a file in NerdTree, navigate to it, then press mm . It will open a prompt with the old full path already written for you, which you can modify to type the new name of the file.
Press m on the node you want to then select (m)ove the current node . Moving is the same as renaming. Great answer saved my life!
The NERDTree is a file system explorer for the Vim editor. Using this plugin, users can visually browse complex directory hierarchies, quickly open files for reading or editing, and perform basic file system operations.
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!
Press m
on the node you want to then select (m)ove the current node
. Moving is the same as renaming.
NERDTree Menu. Use j/k/enter and the shortcuts indicated ========================================================== > (a)dd a childnode (m)ove the curent node (d)elete the curent node (c)copy the current node
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With