Add support for rotating panes around in the window, without changing the layout #14642

Open
opened 2026-01-31 04:15:40 +00:00 by claunia · 1 comment
Owner

Originally created by @zadjii-msft on GitHub (Jul 22, 2021).

In tmux it's possible to move/swap opened panes in different ways.

Moving panes around in tmux:

C-a C-o        rotate window ‘up’ (i.e. move all panes)
C-a M-o        rotate window ‘down’

https://man7.org/linux/man-pages/man1/tmux.1.html:

     rotate-window [-DUZ] [-t target-window]
                   (alias: rotatew)
             Rotate the positions of the panes within a window, either
             upward (numerically lower) with -U or downward (numerically
             higher).  -Z keeps the window zoomed if it was zoomed.

From @kostrse in #4922

Originally created by @zadjii-msft on GitHub (Jul 22, 2021). > In tmux it's possible to move/swap opened panes in different ways. > > Moving panes around in tmux: ``` C-a C-o rotate window ‘up’ (i.e. move all panes) C-a M-o rotate window ‘down’ ``` https://man7.org/linux/man-pages/man1/tmux.1.html: ``` rotate-window [-DUZ] [-t target-window] (alias: rotatew) Rotate the positions of the panes within a window, either upward (numerically lower) with -U or downward (numerically higher). -Z keeps the window zoomed if it was zoomed. ``` From @kostrse in #4922
claunia added the Help WantedIssue-TaskProduct-TerminalArea-UserInterface labels 2026-01-31 04:15:41 +00:00
Author
Owner

@WSLUser commented on GitHub (Jul 22, 2021):

A sub task idea I just had: You press a keybinding action that starts auto-rotating and press again when you're ready for the rotation to stop. The rotation obviously needs to give the user a few seconds to choose it before moving on. Maybe you could add a timer in that allows the user to speed up or slow down the rotation rate but the potential value for that seems low and not worth the additional complexity.

@WSLUser commented on GitHub (Jul 22, 2021): A sub task idea I just had: You press a keybinding action that starts auto-rotating and press again when you're ready for the rotation to stop. The rotation obviously needs to give the user a few seconds to choose it before moving on. Maybe you could add a timer in that allows the user to speed up or slow down the rotation rate but the potential value for that seems low and not worth the additional complexity.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14642