I am on Lion - and in the command line, when I open up my project using "subl ." in my project folder - it opens up the last project I had open before I quit Sublime.
I have the Max Preference "Restore windows when quitting" unchecked.
How to I prevent this behaviour? Is there a preference setting for this?
Make sure Sublime is closed, then delete Auto Save Session. sublime_session and Session. sublime_session . This will not only close all the windows and tabs you have open, but it will also remove the entries in the File -> Open Recent and Project -> Open Recent menus.
1 Answer. Show activity on this post. You can press ⌘ cmd + ⇧ shift + . while the dialog is open, which will toggle show/hide hidden files.
Open one of the projects in Sublime Text just like you always do. Do one of the following: Drag the root directory of the second project from the file explorer to the sidebar of the first project ST window. In your terminal cd to the second project and enter subl .
I think the behavior you want can be enabled by changing the hot_exit
and remember_open_files
settings. If you check out the "Global Settings - Default" preferences, there are some comments there describing these settings.
If you want to change them, you should override them in the "Global Settings - User" file to preserve your changes across updates.
If anyone is wondering how to do this in sublime text 3, copy and paste the following into settings - user:
"hot_exit": false, "remember_open_files": false,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With