Add select-layout -o to undo the last layout change (apply the previously

set layout).
This commit is contained in:
nicm
2015-04-28 10:43:13 +00:00
parent c2bc84aa4d
commit 771744426e
4 changed files with 59 additions and 28 deletions

8
tmux.1
View File

@ -442,8 +442,8 @@ otherwise the current window in
.Em session
is chosen.
.Pp
The following special tokens are available to indicate particular windows. Each
has a single-character alternative form.
The following special tokens are available to indicate particular windows.
Each has a single-character alternative form.
.Bl -column "XXXXXXXXXX" "X"
.It Sy "Token" Ta Sy "" Ta Sy "Meaning"
.It Li "{start}" Ta "^" Ta "The lowest-numbered window"
@ -1775,7 +1775,7 @@ lower) with
.Fl U
or downward (numerically higher).
.It Xo Ic select-layout
.Op Fl np
.Op Fl nop
.Op Fl t Ar target-window
.Op Ar layout-name
.Xc
@ -1792,6 +1792,8 @@ are equivalent to the
and
.Ic previous-layout
commands.
.Fl o
applies the last set layout if possible (undoes the most recent layout change).
.It Xo Ic select-pane
.Op Fl DdegLlRU
.Op Fl P Ar style