Sublime: disable loading of last session - SeanHolden/Wiki GitHub Wiki

Sublime

When you open up Sublime, notice how it automatically opens up the last folder/file you was working in? ... I personally dislike that. Especially when using Ubuntu as it opens up two windows, one old session, one new one, and 99% of the time, I don't want the old session at all. This is how to disable it so it opens ONLY a fresh session any time you open it up.

###How to disable loading of last session each time you open up the editor

  • Open sublime
  • Click Preferences > Browse Packages...
  • In new window that has opened, Navigate inside the User directory and open Preferences.sublime-settings in a text editor.
  • Add the following lines into the file:
{
  "hot_exit": false,
  "remember_open_files": false
}

Done.

Now when you open up sublime, it should only be a fresh new session each time.