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

WindowsVimNerdtree

Windows Problem Overview


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.

Windows Solutions


Solution 1 - Windows

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".

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJames FassettView Question on Stackoverflow
Solution 1 - WindowsJames FassettView Answer on Stackoverflow