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.


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

  • 8
    Thanks. I think this is the "swap-pane" command, e.g. swap-pane -U. Mine had a binding from { and }. – mahemoff Jan 5 '15 at 14:50
  • Keyboard shortcut didn't work, but @mahemoff's comment did. – jpaugh Mar 26 '18 at 20:01

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.