5

Like in NERDTREE for vim, is there a way to list certain file types to be ignored (not displayed) by neotree ? for instance:

*.cs.meta
10

Customize the variable neo-hidden-regexp-list

The doc-string is very short: "The regexp list matching hidden files."

The default is '("^\\." "\\.pyc$" "~$" "^#.*#$" "\\.elc$")

Modify the list as follows in your .emacs file:

(setq neo-hidden-regexp-list '("^\\." "\\.cs\\.meta$" "\\.pyc$" "~$" "^#.*#$" "\\.elc$"))
1
  • 2
    Note that you might need to toggle hidden files with neo-hidden-files-toggle, by default bound to s.
    – altschuler
    Dec 18 '17 at 11:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.