Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Suppose you have a terminal with two tabs. You click, drag, and let go one of these tabs and it becomes an independent terminal window. After a while, you want to take this terminal window and reattach it as a tab to the previous window. How do you do it ? I have seen the merge windows option in the menus, but that merges all windows into one, which I would then have to revert.

share|improve this question
add comment

3 Answers 3

up vote 13 down vote accepted

You need to, in the window you want to move, go to View-> Show Tab Bar (if the tab bar isn't showing already).

Then, drag the tab of the window you want to move onto the window you want to move it to.

share|improve this answer
1  
For this and other reasons, I always have the tab bar visible. I recommend doing so, because tabs have several useful status/activity indicators (starting in Mac OS X 10.7 Lion). –  Chris Page Apr 9 '12 at 11:47
    
I've tried Cmd+Shift+Option to click and drag iTerm2 tabs into other windows, but it only works with normal windows. How can I merge tabs back into the Hotkey Window (I'm using iTerm2 in visor / yakuake-like mode) –  TrinitronX Sep 5 '13 at 16:51
1  
You can also Cmd+t to create a new tab and tab bar will automatically visible –  czerasz Nov 8 '13 at 10:09
    
It's called "Show toolbar" in my version. The tab bar is always visible, but you cannot drag one tab into another window unless the toolbar is showing. –  keflavich Apr 21 at 23:22
add comment

I have iTerm2 (Build 1.0.0.20130302) here - there's no View > Show Tab Bar. But as Chris Page suggested, disabling Hide tab bar when there is only one tab (in Preferences > Appearance) helps. The single windows can then be moved and merged again.

share|improve this answer
add comment

I had troubles merging windows with the Hotkey Window profile. I eventually found a way to un-split the windows by doing the following:

  1. Preferences > uncheck Hide tab bar when there is only one tab
  2. Set Tab position to Bottom
  3. Press your hotkey to show the Hotkey Window
  4. Click & drag the tab into the Hotkey Window's tab bar
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.