fourier / ztree

Directory tree comparison mode for Emacs
http://www.emacswiki.org/emacs/ZtreeDiff
GNU General Public License v3.0
239 stars 21 forks source link

Hide compiled files in ztree-dir mode #27

Closed ghost closed 8 years ago

ghost commented 9 years ago

ztree-diff-filter-list, the available feature filters the non-desired file extensions in diff mode.

I use ztree-dir to navigate python source directory tree and it shows up .pyc/READ.md files. And i am not interested in these files. Is there a variable say, ztree-filter-extensions-list that will hide those file extensions in the directory tree.

I tried using ztree-diff-filter-list in ztree-dir mode but that didn't hide the .pyc files.

fourier commented 9 years ago

Thanks for the suggestion, I will take a look at it.

fourier commented 8 years ago

Done

fourier commented 8 years ago

One can use for example

(setq-default ztree-dir-filter-list (cons "^.*\\.pyc" ztree-dir-filter-list))

to set the additional filters. Toggle hide/show all files with H.