I'm moving from Textmate to vim (with janus) and want to exclude some directories from Ack in particular, and also NERDTree.
The reason I want to do this is that Ack is useless (takes minutes to run, and produces no results) with one of my large projects which contains a directory full of marshalled db data (with many subdirectories and hundreds of thousands of files).
I know how to exclude files (not directories) from NERDTree, and also exclude patterns from CommandT. Neither of these solve my Ack issue.
I'm a complete vim n00b. Thanks for reading.
By default, ack only checks your ~/.ackrc file for it’s default switches. You can have per directory ack settings if you add this to your .bash_profile:
export ACKRC=".ackrc"
http://www.rustyrazorblade.com/2012/03/making-better-use-of-your-ackrc-file/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With