Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to filter out certain filenames (e.g. *.pyc, *.tmp.) #53

Closed
razzmatazz opened this issue Oct 6, 2014 · 7 comments
Closed

Ability to filter out certain filenames (e.g. *.pyc, *.tmp.) #53

razzmatazz opened this issue Oct 6, 2014 · 7 comments

Comments

@razzmatazz
Copy link

It would be nice to be able to filter-out files by filename.

Something like defined here: https://github.com/jaypei/emacs-neotree/blob/dev/neotree.el#L45 but not a constant. (I don't know that much of emacs/elisp -- that might be overridable somehow in .emacs, right?)

@razzmatazz razzmatazz changed the title Ability to filter out certain files (e.g. .pyc, .tmp.) Ability to filter out certain filenames (e.g. .pyc, .tmp.) Oct 6, 2014
@razzmatazz razzmatazz changed the title Ability to filter out certain filenames (e.g. .pyc, .tmp.) Ability to filter out certain filenames (e.g. *.pyc, *.tmp.) Oct 6, 2014
@jaypei
Copy link
Owner

jaypei commented Oct 6, 2014

Yes, the hidden filter need a better implemention, configurable and support multiple rules.

It will be an option, you can customize it like "M-x customize".

@expez
Copy link

expez commented Oct 9, 2014

This probably shouldn't be limited to files, there are quite a few folders that I'm never interested in seeing, like those containing all the build artifacts.

@jaypei
Copy link
Owner

jaypei commented Oct 10, 2014

Yes, @expez .

@expez
Copy link

expez commented Jan 31, 2015

Fantastic! 👍

@jaypei
Copy link
Owner

jaypei commented Jan 31, 2015

@razzmatazz @expez
Thanks for your ideas -- making NeoTree more awesome.

Jaypei

@mmcnl
Copy link

mmcnl commented Feb 9, 2016

Hi, thanks for your work on this project!

I wonder if there's any way to blacklist certain files (e.g. .DS_Store) from ever being displayed even when neotree is in the mode where it's showing other hidden files (e.g. .gitignore). Neotree's current behavior is to either hide files (using neo-hidden-regexp-list) or show all files without exception.

@andreis
Copy link

andreis commented Mar 30, 2016

Agreeing with @mmcnl, hiding files from .[X]ignore would be a way better default IMHO. The default of hiding dotfiles is very annoying (if you toggle H you get *~ too, and all sorts of files).

jianingy pushed a commit to jianingy/emacs-neotree that referenced this issue Oct 10, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants