Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In tmux, when i use main-vertical layout, it always selects the main pane that will be having the larger size. Is there any way we can make the current pane the larger size when using main-vertical? or changing the current pane to the main pane.?

share|improve this question

Try the rotate-window command, bound to Ctrl-o / Meta-o by default, or the swap-pane command, bound to { and } (the two choices operate in opposite directions).

share|improve this answer

Ctrl + b + space rotates them and gives you some size options (limited). From the help listing:

Ctrl + b +

  • Meta + up resize-pane -U 5
  • Meta + down resize-pane -D 5
  • Meta + left resize-pane -L 5
  • Meta + right resize-pane -R 5
  • Ctrl + up resize-pane -U
  • Ctrl + down resize-pane -D
  • Ctrl + left resize-pane -L
  • Ctrl + right resize-pane -R
share|improve this answer
Space is for switching layout, not rotating windows. The OP has already chosen a layout (main-vertical). – jw013 Aug 31 '12 at 15:20
On mine it also does a 2/3 1/3 split as an option also, which I thought may be a quicker solution than resizing specifically – Rqomey Aug 31 '12 at 15:30
I think the OP is happy with the split ratios, just not which pane went into which side of the split. – jw013 Aug 31 '12 at 16:44
yeah.. not happy about which pane became the bigger one – woodstok Aug 31 '12 at 19:41

Your Answer


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.