My new Textmate Bundle

Pops up a dialog asking for a search query, then runs grep on the selected dir in the project drawer and shows the results in a HTML output window with the search query highlighted.

Just have a project with 8000 files in it and TextMates » Find in Project « command is just too slow and I’d have to clear the logfiles before that.

With this bundle I can use grep which seems a lot faster and I can ignore logfiles and svn meta data files.
Have to make this bundle a little more customizable and prettier but for now it does the job.

The command line equivalent would be:
grep -r "query" -n --exclude=\*.svn\* --exclude=\*.log\* /your/path/

Credits go to: Andreas Marr for giving me the grep command as it is used in this bundle.




2 thoughts on "My new Textmate Bundle"

Leave a Reply

Your email address will not be published. Required fields are marked *