我检查了NERDTree
的文档,但没有找到创建新文件/目录或重命名/移动它的方法(一旦我正在浏览目录树)。
在netrw
插件中很容易,但是不再使用它了,因为NERDTree
只是替换了它。而且我不想回头。
有人愿意向我指出正确的方向吗?
最佳答案
它有点隐藏在菜单的后面(请参见: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.
关于vim - vim:NERDTree如何:创建/重命名/移动文件/目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19765721/