mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to
preserve zoomed state. GitHub issue 1839.
This commit is contained in:
25
tmux.1
25
tmux.1
@ -1291,7 +1291,7 @@ Suspend a client by sending
|
||||
.Dv SIGTSTP
|
||||
(tty stop).
|
||||
.It Xo Ic switch-client
|
||||
.Op Fl Elnpr
|
||||
.Op Fl ElnprZ
|
||||
.Op Fl c Ar target-client
|
||||
.Op Fl t Ar target-session
|
||||
.Op Fl T Ar key-table
|
||||
@ -1308,7 +1308,10 @@ may refer to a pane (a target that contains
|
||||
.Ql \&.
|
||||
or
|
||||
.Ql % ) ,
|
||||
in which case the session, window and pane are all changed.
|
||||
to change session, window and pane.
|
||||
In that case,
|
||||
.Fl Z
|
||||
keeps the window zoomed if it was zoomed.
|
||||
If
|
||||
.Fl l ,
|
||||
.Fl n
|
||||
@ -1934,11 +1937,13 @@ The
|
||||
option kills all but the window given with
|
||||
.Fl t .
|
||||
.It Xo Ic last-pane
|
||||
.Op Fl de
|
||||
.Op Fl deZ
|
||||
.Op Fl t Ar target-window
|
||||
.Xc
|
||||
.D1 (alias: Ic lastp )
|
||||
Select the last (previously selected) pane.
|
||||
.Fl Z
|
||||
keeps the window zoomed if it was zoomed.
|
||||
.Fl e
|
||||
enables or
|
||||
.Fl d
|
||||
@ -2320,7 +2325,7 @@ option has the same meaning as for the
|
||||
.Ic new-window
|
||||
command.
|
||||
.It Xo Ic rotate-window
|
||||
.Op Fl DU
|
||||
.Op Fl DUZ
|
||||
.Op Fl t Ar target-window
|
||||
.Xc
|
||||
.D1 (alias: Ic rotatew )
|
||||
@ -2328,6 +2333,8 @@ Rotate the positions of the panes within a window, either upward (numerically
|
||||
lower) with
|
||||
.Fl U
|
||||
or downward (numerically higher).
|
||||
.Fl Z
|
||||
keeps the window zoomed if it was zoomed.
|
||||
.It Xo Ic select-layout
|
||||
.Op Fl Enop
|
||||
.Op Fl t Ar target-pane
|
||||
@ -2351,7 +2358,7 @@ applies the last set layout if possible (undoes the most recent layout change).
|
||||
.Fl E
|
||||
spreads the current pane and any panes next to it out evenly.
|
||||
.It Xo Ic select-pane
|
||||
.Op Fl DdeLlMmRU
|
||||
.Op Fl DdeLlMmRUZ
|
||||
.Op Fl T Ar title
|
||||
.Op Fl t Ar target-pane
|
||||
.Xc
|
||||
@ -2368,6 +2375,8 @@ or
|
||||
.Fl U
|
||||
is used, respectively the pane below, to the left, to the right, or above the
|
||||
target pane is used.
|
||||
.Fl Z
|
||||
keeps the window zoomed if it was zoomed.
|
||||
.Fl l
|
||||
is the same as using the
|
||||
.Ic last-pane
|
||||
@ -2473,7 +2482,7 @@ All other options have the same meaning as for the
|
||||
.Ic new-window
|
||||
command.
|
||||
.It Xo Ic swap-pane
|
||||
.Op Fl dDU
|
||||
.Op Fl dDUZ
|
||||
.Op Fl s Ar src-pane
|
||||
.Op Fl t Ar dst-pane
|
||||
.Xc
|
||||
@ -2490,7 +2499,9 @@ swaps with the next pane (after it numerically).
|
||||
.Fl d
|
||||
instructs
|
||||
.Nm
|
||||
not to change the active pane.
|
||||
not to change the active pane and
|
||||
.Fl Z
|
||||
keeps the window zoomed if it was zoomed.
|
||||
.Pp
|
||||
If
|
||||
.Fl s
|
||||
|
Reference in New Issue
Block a user