casouri / xeft

Fast, interactive Emacs note searching
89 stars 9 forks source link

how to exclude a given directory #12

Closed emacsbliss closed 2 years ago

emacsbliss commented 2 years ago

Thanks for the package!

I just tried it with my notes directory which is under git version control, it turned out xeft generated quite big index (around 400Mb) even though my notes takes about 22Mb in space total.

I think it indexes the .git directory as well, is there anyway to exclude certain directory when ~xeft-recursive~ is set to t?

casouri commented 2 years ago

Completely untested, but now xeft should ignore dot-directories. If you want more fancy filtering you can customize xeft-file-list-function.

emacsbliss commented 2 years ago

Thanks a lot for quickly updating it!