我检查了NERDTree
的文档,但没有找到创建新文件/目录或重命名/移动它的方法(一旦我浏览目录树)。
在netrw
插件中它很容易,但是这个不再使用,因为NERDTree
只是替换了它。而且我不想回头。
有人准备指出我正确的方向吗?
答案 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.