Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

2 Answers 2

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 –  MIkhail Aug 31 '12 at 19:41

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.