diff options
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r-- | usr.bin/tmux/tmux.1 | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 5e5bd901103..ac4984e3b44 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.180 2010/06/27 02:56:59 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.181 2010/06/29 03:30:14 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 27 2010 $ +.Dd $Mdocdate: June 29 2010 $ .Dt TMUX 1 .Os .Sh NAME @@ -877,6 +877,24 @@ Panes are spread out as evenly as possible over the window in both rows and columns. .El .Pp +In addition, +.Ic select-layout +may be used to apply a previously used layout - the +.Ic list-windows +command displays the layout of each window in a form suitable for use with +.Ic select-layout . +For example: +.Bd -literal -offset indent +$ tmux list-windows +0: ksh [159x48] + layout: bb62,159x48,0,0{79x48,0,0,79x48,80,0} +$ tmux select-layout bb62,159x48,0,0{79x48,0,0,79x48,80,0} +.Ed +.Nm +automatically adjusts the size of the layout for the current window size. +Note that a layout cannot be applied to a window with more panes than that +from which the layout was originally defined. +.Pp Commands related to windows and panes are as follows: .Bl -tag -width Ds .It Xo Ic break-pane @@ -1224,7 +1242,7 @@ or downward (numerically higher). Choose a specific layout for a window. If .Ar layout-name -is not given, the last layout used (if any) is reapplied. +is not given, the last preset layout used (if any) is reapplied. .It Xo Ic select-pane .Op Fl DLRU .Op Fl t Ar target-pane |