From f99de22808b8e3c2b8aabf70b945f768ae892dda Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Tue, 10 Apr 2012 09:52:45 +0000 Subject: Sync OpenBSD patchset 1084: Add a layout history which can be stepped through with select-layout -u and -U commands (bound to 'u' and 'U' by default). --- tmux.1 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index ed083923..29752680 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1455,7 +1455,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 @@ -1472,6 +1472,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 @@ -2513,6 +2520,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 -- cgit