Sublime Forum

Project and --new-window


I want to use ST3 for both project and opening standalone files, but separately. Opened files in projects are being saved with hot_exit=true, but when I close program with project loaded and then try to execute sublime_text.exe -n "somefile.txt" it opens 2 windows - first contains somefile.txt, second contains a project. I don’t want a project at this moment…



Basically this:
But automatically when you press X on window, I guess I’ll have to write a plugin that closes project in on_pre_close :slight_smile: