我查阅了相关文档,但没有找到在NERDTree中重命名或复制文件和文件夹的方法。这是否可行?
按下节点上的 m
键,然后选择 (m)ove the current node
即可移动节点。移动与重命名相同。
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
https://github.com/scrooloose/nerdtree/blob/master/doc/NERDTree.txt,最新版本含有:
2.3. NERD 树形菜单 NERDTreeMenu NERD 树形菜单可以通过 API 进行编程(参见 |NERDTreeMenuAPI|)。其想法是模拟大多数文件资源管理器中的“右键单击”菜单。脚本带有两个默认菜单插件:exec_menuitem.vim 和 fs_menu.vim。fs_menu.vim 为菜单添加了一些基本的文件系统操作,例如创建/删除/移动/复制文件和目录。exec_menuitem.vim 则提供了一个菜单项,用于执行可执行文件。