emacs-neotree icon indicating copy to clipboard operation
emacs-neotree copied to clipboard

Being able to style the files ignored by VCS

Open erwan opened this issue 10 years ago • 6 comments
trafficstars

It would be great to have an option to either hide files listed in .gitignore (or similar for other VCS) or style them differently.

Some people might want to hide them, personally I think that being able to set them to a different color (e.g. grey) so they "fade out" with the background would be even better. This way the other files are more visible, but ignored files are still there if you need to edit them.

erwan avatar Sep 30 '15 08:09 erwan

This is awesome...I was just searching the web for this exact neotree feature. In my case, the ideal setup is if using projectile's root, neotree grabbed ignore values from projectile (which also sources your .gitignore)

alimavrakis avatar Feb 18 '16 18:02 alimavrakis

I'd have to agree on this one. Every pattern I have in neo-hidden-regexp-list is simply a duplicate from my .gitignore. This would be an awesome feature to have.

darfink avatar Feb 22 '16 21:02 darfink

Agreed!

tobimensch avatar Sep 06 '16 06:09 tobimensch

Is this issue scheduled for resolvement?

SzymonPajzert avatar Mar 10 '17 15:03 SzymonPajzert

The PR https://github.com/jaypei/emacs-neotree/pull/225 provides a method reorder the hidden file at the bottom. Also, you can define your own sort function.

aborn avatar Mar 14 '17 01:03 aborn

This can theoretically be done with the current neo-vc-integration, though I've had issue with Emacs's vc-status function not properly returning 'ignored for ignored files.

garrett-hopper avatar Jun 20 '18 00:06 garrett-hopper