Home Download Buy Blog Forum Support

Disable automatic loading of last session

Disable automatic loading of last session

Postby jcamenisch on Sat Jan 28, 2012 11:20 pm

How can I tell Sublime not to open previously-open directories when I launch it? My ideal workflow would be

Code: Select all
$ cd path/where/I/want/to/work
$ subl .


After doing that, it's a pain to have to close other windows that come up automatically. I'm guessing there's a magic setting I can toggle somewhere?
jcamenisch
 
Posts: 2
Joined: Sat Jan 28, 2012 11:13 pm

Re: Disable automatic loading of last session

Postby jcamenisch on Sat Jan 28, 2012 11:42 pm

I figured it out. In Packages/User/Global.sublime-settings, the following lines got me what I want:

Code: Select all
{
  "hot_exit": false,
  "remember_open_files": false
}
jcamenisch
 
Posts: 2
Joined: Sat Jan 28, 2012 11:13 pm

Re: Disable automatic loading of last session

Postby iansane on Sat Jan 26, 2013 8:00 pm

Is it possible to change these setting from command line rather than editing the setting permanently in sublime?



For when I have 2 or 3 projects in sublime but want a new folder to open in sublime without those previous projects and don't want the new project to overwrite sublime_session when I close the window. That way when I open sublimetext normally it will still have those 2 or 3 other projects?

It seems simple from the command line perspective. Just a option to ignore last session and don't write session. But I don't know how difficult it would be to implement in sublime if it doesn't already exist.

Thanks
iansane
 
Posts: 7
Joined: Sun Nov 06, 2011 11:16 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 8 guests