How to make Sublime Text 3 opening your last file/folder when started?

iori picture iori · Mar 19, 2015 · Viewed 17.9k times · Source

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?

Answer

MattDMo picture MattDMo · Mar 19, 2015

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.