One of the reasons I had to install GIT was to be able to install these GitHub hosted Textmate plugins I find useful. The most important one of them being Ack in Project. It is so much better and faster than the built-in search in project feature included with Textmate.

Here is a quick post about how to install Ack In Project which is basically just a translation of Frederic De Villiamil’s post.

First, go to the Textmate/Bundles folder. If it doesnt exist, create it. Then, clone the code:

1
2
cd ~/Library/Application\ Support/TextMate/Bundles/
git clone git://github.com/protocool/ack-tmbundle.git Ack.tmbundle

At this point, if you restart Textmate, the Ack In Project will be available by pressing Cmd + Shift + A which is very uncool. Not only that command is used by the Subversion plugin but I always expect the search to use the “F” key. To fix that behavior, edit

1
Commands/Ack\ in\ Project.tmCommand

and modify line 16 to read:

1
<string>@F</string>

Thanks, Fred, for the tip.


Comments

Name (required)

Email (required)

Website

Leave a Reply