I believe you're looking for the hot_exit
setting.
Since I'm running Sublime Text 3 (Build 3126), in Windows 10 Pro, I can't say for sure if this will work exactly the same for you, but the steps in Windows are as follows:
Click Preferences -> Settings
In the new dual-pane window that opens, the tab on the right is labeled Preferences.sublime-settings-User
. If that file does not contain any text, just paste the following, save the file, and close it:
{
"hot_exit": true
}
If that file already contains text, either change the value of the existing hot_exit
setting from false
to true
, or add the "hot_exit": true
line above (without the curly braces). Use commas to separate that line from the lines immediately before and after it. For more information on working with Settings in Sublime Text 3, see the documentation.
Here's the full description of the hot_exit
setting, from the Preferences.sublime-settings-Default
file (which should not be modified, that's why the above-mentioned Preferences.sublime-settings-User
file exists):
// Exiting the application with hot_exit enabled will cause it to close
// immediately without prompting. Unsaved modifications and open files will
// be preserved and restored when next starting.
//
// Closing a window with an associated project will also close the window
// without prompting, preserving unsaved changes in the workspace file
// alongside the project.