Getting Autosave In Sublime Text

I was recently bitten by the lack of saving in my text editor of choice, Sublime Text (3). I don’t know if it’s that PHPStorm has autosave, or that Google Docs does, but at some point in the last few years I lost the reflexive and regular keyboard-shortcut hitting of CMD+S. But it turns out, there’s a simple Sublime Text setting that you just need to toggle. "save_on_focus_lost": true is exactly what I needed to get the desired level of auto-save.

I previously, when finding this problem, had Googled my way into an auto-save Sublime Text package. But it wasn’t what I needed, as you had to explicitly activate it all the time. That’s not true with this settings change, mercifully. I thoroughly recommend you set this up, even if you don’t think you need it. Nothing is worse than losing data.

Add a Comment

Your email address will not be published.