问题描述
限时送ChatGPT账号..如果我将一个文件添加到在 NERDTree
中打开的同一目录中,我可以看到添加的文件的唯一方法是退出 vim 并重新启动它.
If I add a file to the same directory opened in NERDTree
, the only way I can see the file added is if I quit vim and start it again .
有没有办法在 NERDTree
中重新加载文件?
Is there a way I can reload the files in NERDTree
?
推荐答案
您可以关闭并重新打开 NERDTree 或只需点击 r 刷新当前目录的列表或 R 以刷新根目录的列表.
You could close and reopen NERDTree or simply hit r to refresh the current directory's listing or R to refresh the root directory's listing .
您是否在 NERDTree 窗口的顶部看到按?寻求帮助"?这意味着您可以按 ? 寻求帮助.如果这样做,您将看到 NERDTree 快捷方式的详尽列表.这很整洁.
Do you see "Press ? for help" at the top of the NERDTree window? It means that you can press ? for help. If you do, you will see an exhaustive listing of NERDTree shortcuts. That's neat.
更一般地说,许多插件都有完整的文档,您可以通过 :help
访问这些文档.
More generally, many plugins have a thorough documentation that you can access with :help <pluginame>
.
这篇关于NERDTree 重新加载新文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论