Question

I have a hidden folder which name starts with . (dot) I am editing files withing the parent folder but want to be able to access files within the hidden one as well from within NERDTree plugin under vim.

Is there a way to do it?

Was it helpful?

Solution

If you hit SHIFTi, the NERDTree shows also hidden files.

This could be found in the docs of NERDTree that appear if you hit ? in the NERDTree window or type :he NERDTree (specific: :he NERDTreeMappings).

OTHER TIPS

To shows hidden files/folders by default, add this line to your .vimrc file:

let NERDTreeShowHidden=1

Hit SHIFTi to toggle between show and hide hidden files/folders.

If you ignore file/folder(like .git/ , .DS_Store/ etc) in NerdTree, add this line to your vim script:

let NERDTreeIgnore=['\.DS_Store$', '\.git$'] " ignore files in nerd tree
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top