How can I show hidden files (starting with period) in NERDTree?

不打扰是莪最后的温柔 提交于 2020-04-07 10:50:06

问题


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

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.

I am using gvim on Windows.


回答1:


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

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

let NERDTreeShowHidden=1

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



来源:https://stackoverflow.com/questions/5057359/how-can-i-show-hidden-files-starting-with-period-in-nerdtree

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!