Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Renaming or copying files and folder using NERDTree on Vim. Is it possible?

Tags:

vim

nerdtree

I checked the documentation and I couldn't find a way o renaming or copying files and folder using NERDTree. Is it possible?

like image 301
alexchenco Avatar asked Feb 19 '10 11:02

alexchenco


People also ask

How do I rename a file in NERDTree?

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.

How do I move files in NERDTree?

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!

What is NERDTree in Vim?

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.

How do I make a file with NERDTree?

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!


1 Answers

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 
like image 164
david Avatar answered Sep 28 '22 08:09

david