Categories


Finally a fix for textmate

So, I have been struggling the past few weeks with Textmate and it being stupid slow on certain projects that contain a ton of files. Apparently every time Textmate gets focus, it re-scans the entire project folder for changed files – which really sucks if you’re alt-tabbing back and forth a bit to see changes you’re making to a project.

I finally did a bit of searching around and discovered this gem:

il maestro ignoto » Blog Archive » slow projects loading in textmate

To save some typing, you can just copy and paste this into your preferences:

!(/\.(?!htaccess)[^/]*|\.(jpeg|jpg|png|gif|mp3|pdf|swf)|\.(tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$

This will tell Textmate to ignore graphics and whatnot when it regains focus and greatly speed up the loading of your projects.


Your Comment