Sublime Forum

ST4: Quitting when last window is closed

#1

I’m using ST4 as my terminal’s editor. Specifically, for writing commit messages. When I type git commit a new COMMIT window pops up in ST4. When I’m done writing my commit message I type CMD+S and CMD+W. At this point I want Sublime Text to quit completely if there are no other ST windows open. Instead, it stays around with just the menu bar and in doing so blocks me from continuing to type in the Terminal.

I’ve searched and found threads about the “close_windows_when_empty” setting. I have this set to true in my user level settings, but this has no affect. It’s unclear if this is a regression, or if this setting doesn’t apply to my particular use case in the first place. Either way, I’d love to find out how to accomplish what I’m trying to do.

Thanks!

Edit: I’m on a Mac.

0 Likes

#2

It’s a standard MacOS property that applications remain running even when they have no windows associated with them.

That said, you may be experiencing this or something related to it:

0 Likes

#3

I would like this feature as well. I think that it can be added as a setting as it’s done by other applications (e.g. Typora).

0 Likes