NERDTree 重新加载新文件

编程入门 行业动态 更新时间:2024-10-28 09:13:56
本文介绍了NERDTree 重新加载新文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送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:关键词]

本文发布于:2023-04-27 17:57:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1159790.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:加载   新文件   NERDTree

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!