Save-on-Focus-Lost for TextMate2
TextMate 1 has the lovely ability to save any modified documents when the editor loses focus (say, when you command-tab to iTerm to see your test results.) This suits me well, as I rarely, if ever, don't want all edits to be persisted.
TextMate 2 has seemingly lost this ability out of the box. But there is hope! Simply install this lovely little bundle (using a recent TM2 build):
https://github.com/bomberstudios/Save-On-Focus-Lost.tmbundle
Presto! No more explicit Command-S for me!
Written by Phil Smith
Related protips
3 Responses
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/89043/bc0ec8d8df79a0824f3e2d8255372f97.jpeg)
Doesn't work for me on TM 2.0-alpha.9495 ((
over 1 year ago
·
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/88856/ca74c4bd65a890bb31e2fc139427a8d4.jpeg)
Doesn't work to me too
over 1 year ago
·
![](https://coderwall-assets-0.s3.amazonaws.com/uploads/user/avatar/40114/f057f53afd6fffc5075d8d59277cd103.jpeg)
Full Disclosure: I kicked TM2 to the curb months ago, and have happily been using sublime text ever since. This feature is available there as well.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Textmate
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#