summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-04-01 13:18:38 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-04-01 13:18:38 +0000
commit85f5485cb5e46d6d574b7a1b8c1357c85b528e2b (patch)
tree302c5d6ffd1bc655d2ab33c808df7d0cc1e2acf2 /tmux.1
parentb831f8635409883e2ad2b6feedf05821f8f2ea84 (diff)
Add a layout history which can be stepped through with select-layout -u
and -U commands (bound to 'u' and 'U' by default).
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.116
1 files changed, 15 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 7b97cd81..d6cc5a68 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1451,7 +1451,7 @@ lower) with
.Fl U
or downward (numerically higher).
.It Xo Ic select-layout
-.Op Fl np
+.Op Fl npUu
.Op Fl t Ar target-window
.Op Ar layout-name
.Xc
@@ -1468,6 +1468,13 @@ are equivalent to the
and
.Ic previous-layout
commands.
+.Pp
+.Fl U
+and
+.Fl u
+step forward and back through previous layouts, up to the maximum set by the
+.Ic layout-history-limit
+option.
.It Xo Ic select-pane
.Op Fl lDLRU
.Op Fl t Ar target-pane
@@ -2509,6 +2516,13 @@ or
.Ar height .
A value of zero restores the default unlimited setting.
.Pp
+.It Ic layout-history-limit Ar limit
+Set the number of previous layouts stored for recovery with
+.Ic select-layout
+.Fl U
+and
+.Fl u .
+.Pp
.It Ic main-pane-height Ar height
.It Ic main-pane-width Ar width
Set the width or height of the main (left or top) pane in the