iTerm2: How to unsplit a pane back to a tab or window

This morning I accidentally dragged an iTerm2 tab and created a split pane in one of my tabs. I searched for quite a while to find out how to move it back to its own tab. Finally, I found it at

You can already do this by holding cmd-shift-opt and dragging the pane to a
tab bar or away from any terminal window to create a new window.

5 thoughts on “iTerm2: How to unsplit a pane back to a tab or window

  1. Thanks! I’ve had my cat do this a few times (I still don’t know what keys he hit!) and it’s infuriating trying to figure out how to undo it.

  2. Pingback: Solution to: How do I un-split an iTerm/iTerm2 window? | Xena Beast! All my questions answered!

  3. Thanks, this helped me as well (back then when I was using MacOS X :-))

  4. Thanks for the tip. This helped me also, although I’m finding that it doesn’t work if there aren’t additional tabs open. Meaning, if you start with 2 tabs and split them, there won’t be a tab bar on either pane. Just a single pane on top & bottom (if it’s a horizontal split) Since there isn’t a tab bar, I can’t seem to join the 2 panes. If one of the panes has another tab open, there will be a tab bar present, and it works perfectly though.

    I may just be doing something wrong, but either way it’s a nice feature

  5. Thanks @hf for the open-a-new-tab tip. Very helpful. It enabled me to take the tab that I had torn off into a separate window (in order to get an extra few lines for a screenshot) and then re-insert it back to its usual spot. :)

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>