I'm on Mac running Yosemite. I use Sublime Text 3.
In my default Settings, I have it like this :
"hot_exit": true, "remember_open_files": true,
When I close a window and reopen it back, my old open files/folder didn't come back. Quit it, Reopen it - still didn't recall anything back.
I don't want that.
How do I prevent this behaviour?
SublimeText already has the menu item File -> Open Recent -> Reopen Closed File. Also Sublime Text has the ability to save and restore all its open Windows when it is exited via File -> Exit.
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.
In order for hot_exit
and remember_open_files
to work, you can't just close the window by clicking on the red dot - you need to completely quit Sublime with ⌘Q, while the windows are still open. If you close a window, its contents are gone.
Try adding this in your setting:
"create_window_at_startup": false,
It helped in my case...
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