The way to do this has changed with alpha .9495. From README to Save-On-Focus-Lost repo:
You can now set saveOnBlur to .tm_properties so that TextMate saves files when focus is lost.
...
Using .tm_properties also makes it easy to orient certain types of files, for example, you can use:
[ ui/**.php ] saveOnBlur = true
In this case, only .php files are automatically saved in the ui folder when focus is lost.
It is also very nice because it allows you to set it as a project-specific parameter.
But if you want to set it as a global setting, edit the file ~/Library/Application Support/TextMate/Global.tmProperties and add the saveOnBlur = True next to the beginning, before any lines with file type settings.
kmacinnis
source share