M-1 to M-7 for 7 preset layouts; from bunkmate

ok nicm
This commit is contained in:
jmc 2024-12-03 11:18:34 +00:00
parent 72cd0eac29
commit 01edce40f3

31
tmux.1
View File

@ -369,7 +369,7 @@ Enter copy mode and scroll one page up.
.It Left, Right
Change to the pane above, below, to the left, or to the right of the current
pane.
.It M-1 to M-5
.It M-1 to M-7
Arrange panes in one of the seven preset layouts:
even-horizontal, even-vertical,
main-horizontal, main-horizontal-mirrored,
@ -759,8 +759,8 @@ The start of a session name, for example
would match a session named
.Ql mysession .
.It
An
.Xr fnmatch 3
A
.Xr glob 7
pattern which is matched against the session name.
.El
.Pp
@ -808,8 +808,8 @@ An exact window name, such as
The start of a window name, such as
.Ql mysession:mywin .
.It
As an
.Xr fnmatch 3
As a
.Xr glob 7
pattern matched against the window name.
.El
.Pp
@ -2859,7 +2859,7 @@ other commands are not blocked from running until the indicator is closed.
.Xc
.D1 Pq alias: Ic findw
Search for a
.Xr fnmatch 3
.Xr glob 7
pattern or, with
.Fl r ,
regular expression
@ -4230,8 +4230,8 @@ supports.
.Pp
This is an array option where each entry is a colon-separated string made up
of a terminal type pattern (matched using
.Xr fnmatch 3 )
followed by a list of terminal features.
.Xr glob 7
patterns) followed by a list of terminal features.
The available features are:
.Bl -tag -width Ds
.It 256
@ -4287,7 +4287,8 @@ Allow terminal descriptions read using
to be overridden.
Each entry is a colon-separated string made up of a terminal type pattern
(matched using
.Xr fnmatch 3 )
.Xr glob 7
patterns)
and a set of
.Em name=value
entries.
@ -5625,14 +5626,14 @@ true, for example
.Pp
An
.Ql m
specifies an
.Xr fnmatch 3
or regular expression comparison.
specifies a
.Xr glob 7
pattern or regular expression comparison.
The first argument is the pattern and the second the string to compare.
An optional argument specifies flags:
.Ql r
means the pattern is a regular expression instead of the default
.Xr fnmatch 3
.Xr glob 7
pattern, and
.Ql i
means to ignore case.
@ -5642,8 +5643,8 @@ or
.Ql #{m/ri:^A,MYVAR} .
A
.Ql C
performs a search for an
.Xr fnmatch 3
performs a search for a
.Xr glob 7
pattern or regular expression in the pane content and evaluates to zero if not
found, or a line number if found.
Like