Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

After doing join-pane on 2 windows, you have 2 horizontal panes. How do I rearrange the panes to be vertical panes instead?

share|improve this question
add comment

3 Answers

up vote 34 down vote accepted

C-b space (bound to next-layout by default) cycles through available layouts, you can also use the select-layout command. See man tmux for more details.

share|improve this answer
    
Yup, that worked, C-b M-1 worked for me –  krishonadish Oct 29 '12 at 17:47
add comment

You should be able to use:

ctrl-b meta-2

to do this, but I'm unable to test it since OS X doesn't like anything too "meta" (we have at least that in common).

Source: http://hyperpolyglot.org/multiplexers

share|improve this answer
1  
You should be able to configure your terminal emulator with “option as meta“ (Terminal) or “option as +Esc“ (iTerm2), but you can always type C-b M-2 manually as C-b ESC 2. –  Chris Johnsen Oct 26 '12 at 8:20
add comment

There are also an options for explicitly requiring the join/split to happen vertically/horizontally: -h and -v

(see man page and note that the -h/-v do not refer to the direction of the separator line).

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.