macro_rules! rotate_window {
    (@cmd ($cmd:expr) -D, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -U, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -Z, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr) -t $target_window:expr, $($tail:tt)*) => { ... };
    (@cmd ($cmd:expr)) => { ... };
    () => { ... };
    (($cmd:expr), $($tail:tt)*) => { ... };
    ($($tail:tt)*) => { ... };
}
Expand description

Rotate the positions of the panes within a window

§Manual

tmux ^3.1:

rotate-window [-DUZ] [-t target-window]
(alias: rotatew)

tmux ^0.8:

rotate-window [-DU] [-t target-window]
(alias: rotatew)