On my mac, I work with a lot of tabs and windows in SublimeText 3. I often like to pull tabs out to create a new window but later, I want to be able to easily consolidate them.
Scenario: I have two SublimeText windows open, each with 5 tabs. Now, I'd like to merge all the tabs of window 2 into window 1 so I only have one remaining window with 10 tabs.
Chrome has a fabulous extension called Merge Windows that demonstrates this behavior perfectly.
How would I do this in SublimeText 3?
If you want to see more than one document at the same time in Sublime Text 3, you could drag a tab out into a second window. Alternatively, you can split the main window into multiple sub-windows, then click and drag your document tabs into the sub-window you prefer.
For example, if you’re trying to code a custom function that’s defined in a separate file. If you want to see more than one document at the same time in Sublime Text 3, you could drag a tab out into a second window.
When multiple tabs are selected, Sublime Text will automatically split the editor pane to display the tabs horizontally. Note: in the following key bindings, Primaryrefers to the Ctrlkey on Windows and Linux, and the Cmdkey on Mac.
In mac, open sublime, click Window -> Click Merge all Windows Also make sure that this won't work if you just have one window open which is pretty obvious. Share Improve this answer Follow answered May 29, 2020 at 7:56 mozilla-firefoxmozilla-firefox 7141010 silver badges2121 bronze badges Add a comment | 0
I have created a sublime package to help solve this problem called Merge Windows.
It can be downloaded from github or through Sublime using Package Control
This isn't exactly what you're asking for but I think this is close enough:
Drag the tab from the "source" window to the "target" Window and hover near the other tabs in the source window. Then drop it there. Voila. You've moved one tab. Rinse and repeat for the other tabs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With