Nerdtree: Shouldn't hidden files be shown by default?

Created on 4 Sep 2013  路  4Comments  路  Source: preservim/nerdtree

I'd venture to say that if you're using a Vim plugin, you're going to want hidden files shown by default, especially considering you need to edit your .vimrc and use git.

It could optionally be set in your .vimrc to show or hide hidden files by default. Maybe there's a way to do this already?

Most helpful comment

It looks like you could put 'let g:NERDTreeShowHidden=1' (without the quotes) in your ~/.vimrc. See the doc for more info: https://github.com/scrooloose/nerdtree/blob/master/doc/NERD_tree.txt#L647

All 4 comments

It looks like you could put 'let g:NERDTreeShowHidden=1' (without the quotes) in your ~/.vimrc. See the doc for more info: https://github.com/scrooloose/nerdtree/blob/master/doc/NERD_tree.txt#L647

Thanks. I just think that the scenarios in which you _wouldn't_ want to see hidden files are edge cases. Just my opinion though.

One argument is that it follows ls's semantics (but then why I as the shortcut?).

It looks like this issue has been resolved. Generally, most people don't want to see the hidden files by default, but I'm glad you found the setting to use in these cases.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

milushov picture milushov  路  4Comments

fncll picture fncll  路  4Comments

masylum picture masylum  路  7Comments

nicknisi picture nicknisi  路  5Comments

sunnyguan picture sunnyguan  路  4Comments