Sublime Forum

Close the second sublime on moving tab

#1

If i drag a tab outside of sublime text, this tab will be on a new one sublime text.
So I got two sublime text, the first one, and the second with the tab dragged.
When I drag the tab from the second sublime text into the first one, the second sublime text remain empty, without any tab.

The default behavior should close this second sublime text.

0 Likes

#2

Agreed, the current behavior is just annoying.

0 Likes

#3

Was just about to submit this request myself. An empty window is useless; it should be automatically closed when its only tab is moved to another window.

On a similar note; if there’s already an open sublime window, new files should open as tabs instead of new windows. This is the number one most annoying interaction I have to deal with when editing FTP files in Sublime via Transmit.

0 Likes

#4

The “close_windows_when_empty” setting in Global.sublime-settings would resolve this, though perhaps not ideally since the first/original window would also close when no tabs were present.

jess, you might check the “open_files_in_new_window” setting in the same file, though the comment says it’s OSX only.

0 Likes

#5

Add:

"open_files_in_new_window": false

In you global user settings.

0 Likes