Restore { and } to swap-pane and for floating panes and use a separate

key table accessed by g (short for "gove and/or gesize") for floating
panes. So "C-b g Up" moves the pane to top-centre, "C-b g M-Up" moves
and resizes it. This means we not only do not lose the surprisingly
popular { and } bindings, but we can have more than four keys for moving
and resizing panes.
This commit is contained in:
nicm
2026-07-07 07:43:07 +00:00
parent ff09914327
commit af35bcb64f
2 changed files with 27 additions and 10 deletions

12
tmux.1
View File

@@ -363,13 +363,13 @@ Toggle zoom state of the current pane.
.It Tab
Choose a new window and session by fuzzy matching.
.It {
Move floating pane to top-left corner.
Swap the current pane with the previous pane.
.It }
Move floating pane to top-right corner.
.It M-{
Move floating pane to bottom-left corner.
.It M-}
Move floating pane to bottom-right corner.
Swap the current pane with the next pane.
.It g 1, 2, 3, 4
.It g Up, Down, Left, Right
Move floating pane to corners or edges.
Meta resizes the pane as well.
.It \[ti]
Show previous messages from
.Nm ,