I have come across ways to save on focus up "save_on_focus_lost": true, or save on every change like this https://packagecontrol.io/packages/auto-save but
"save_on_focus_lost": true,