7

Is there any way to get tmux to do the equivalent of Vim's window rotation (ctrl-w r and ctrl-R), where it rotates only in one direction? Tmux's normal window swap command ( ctrl-o) just rotates all panes around in a kind of circle.

1 Answer 1

3

Yes: try Ctrl+F3 and Ctrl+F4 t swap upper or lower panes. You can also iterate to reach other configurations.

3
  • 14
    Thanks. I think this is the "swap-pane" command, e.g. swap-pane -U. Mine had a binding from { and }.
    – mahemoff
    Jan 5, 2015 at 14:50
  • Keyboard shortcut didn't work, but @mahemoff's comment did.
    – jpaugh
    Mar 26, 2018 at 20:01
  • I found CTL-B { and CTL-B } will rotate panes, that may produce the effect being looked for. Obviously change CTL-B for whatever leader / prefix you are using.
    – NeilG
    Jun 30 at 6:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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