vim:NERDTree如何:创建/重命名/移动文件/目录

时间:2013-11-04 10:25:19

标签: vim

我检查了NERDTree的文档,但没有找到创建新文件/目录或重命名/移动它的方法(一旦我浏览目录树)。

netrw插件中它很容易,但是这个不再使用,因为NERDTree只是替换了它。而且我不想回头。

有人准备指出我正确的方向吗?

1 个答案:

答案 0 :(得分:6)

它有点隐藏在菜单后面(见:help NERDTreeMenu),但作为一个好处,它是可扩展的。默认情况下,它使用 m 键启动(对于当前文件节点)。

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.