I checked the documentation and I couldn't find a way o renaming or copying files and folder using NERDTree. Is it possible?
views:
514answers:
2
A:
According to the documentation @ http://github.com/scrooloose/nerdtree/blob/master/doc/NERD_tree.txt, the latest version has it:
2.3. The NERD tree menu NERDTreeMenu The NERD tree has a menu that can be programmed via the an API (see |NERDTreeMenuAPI|). The idea is to simulate the "right click" menus that most file explorers have. The script comes with two default menu plugins: exec_menuitem.vim and fs_menu.vim. fs_menu.vim adds some basic filesystem operations to the menu for creating/deleting/moving/copying files and dirs. exec_menuitem.vim provides a menu item to execute executable files.
Zsolt Botykai
2010-02-19 11:15:16
I checked it. But how do I make the menu appear?
janoChen
2010-02-19 11:28:42
Zsolt Botykai
2010-02-19 11:50:05
Yeah, I'm using gVim and Nerdtree with "m" I open a windows but renaming isn't there I right click on nodes and renaming is not there either (I do have those 2 files).
janoChen
2010-02-19 12:05:38
+2
A:
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
Moving is the same as renaming.
David Moore
2010-03-14 12:30:55