Sublime Forum

Project and --new-window

#1

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…

0 Likes

#2

Basically this:
https://packagecontrol.io/packages/Better%20Close%20Window
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:

0 Likes