109

我检查了文档,但找不到使用 NERDTree 重命名或复制文件和文件夹的方法。是否可以?

4

2 回答 2

192

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
于 2010-03-14T12:30:55.117 回答
3

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 提供了一个菜单项来执行可执行文件。

于 2010-02-19T11:15:16.750 回答