gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 23:59:48 24 4
gpt4 key购买 nike

我查看了 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:NERDTree 如何:创建/重命名/移动文件/目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19765721/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com