我检查了文档,但是找不到使用NERDTree重命名或复制文件和文件夹的方法。有可能吗?
答案 0 :(得分:165)
在您要添加的节点上按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
答案 1 :(得分:2)
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增加了一些 基本的文件系统操作 菜单 创建/删除/移动/复制文件 和dirs。 exec_menuitem.vim提供了一个 用于执行可执行文件的菜单项。