如何在 NERDTree 中显示隐藏文件(以句点开头)? [英] How can I show hidden files (starting with period) in NERDTree?

查看:19
本文介绍了如何在 NERDTree 中显示隐藏文件(以句点开头)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何让 NERDTree 显示以 开头的文件. (期间)?

How can I make NERDTree show files that begin with an . (period)?

我在项目目录中有一个名为 .hgignore 的文件.如果我使用 NERDTree 浏览到该目录,则该文件不会显示在树中.

I have a file named .hgignore in a project directory. If I browse to that directory using NERDTree, the file is not displayed within the tree.

我在 Windows 上使用 gvim.

I am using gvim on Windows.

推荐答案

I (Shift+i) 切换隐藏文件NERDTree 资源管理器窗口.

Press I (Shift+i) to toggle hidden files in the NERDTree explorer window.

要默认启用此行为,请将此行添加到您的 .vimrc 文件中:

To enable this behavior by default, add this line to your .vimrc file:

let NERDTreeShowHidden=1

有关更多详细信息,请访问 NERDTree 帮助文件 :help NERD_tree.txt 并搜索隐藏".

For more detail, access the NERDTree help file :help NERD_tree.txt and search for "hidden".

这篇关于如何在 NERDTree 中显示隐藏文件(以句点开头)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆