Merge pull request #5026 from daneofmanythings/floating_panes--new-pane-doc-fixup

docs(floating_panes): A couple documentation fixes from #4979
This commit is contained in:
Nicholas Marriott
2026-04-24 16:06:12 +03:00
committed by GitHub
2 changed files with 12 additions and 12 deletions

View File

@@ -43,7 +43,7 @@ const struct cmd_entry cmd_new_pane_entry = {
"[-F format] [-l size] [-m message] [-M mode] "
"[-R inactive-border-style] [-s style] "
"[-S active-border-style] [-x width] [-X x-position]"
"[-y length] [-Y y-position]" CMD_TARGET_PANE_USAGE
"[-y height] [-Y y-position]" CMD_TARGET_PANE_USAGE
"[shell-command [argument ...]]",
.target = { 't', CMD_FIND_PANE, 0 },
@@ -61,7 +61,7 @@ const struct cmd_entry cmd_split_window_entry = {
"[-F format] [-l size] [-m message] [-M mode] "
"[-R inactive-border-style] [-s style] "
"[-S active-border-style] [-x width] [-X x-position]"
"[-y length] [-Y y-position]" CMD_TARGET_PANE_USAGE
"[-y height] [-Y y-position]" CMD_TARGET_PANE_USAGE
"[shell-command [argument ...]]",
.target = { 't', CMD_FIND_PANE, 0 },

20
tmux.1
View File

@@ -3322,7 +3322,7 @@ By default, it uses the format
but a different format may be specified with
.Fl F .
.Tg newp
.It Xo Ic new-pane
.It Xo Ic new\-pane
.Op Fl bdefhIkPvZ
.Op Fl c Ar start-directory
.Op Fl e Ar environment
@@ -3337,7 +3337,7 @@ but a different format may be specified with
.Op Fl t Ar target-pane
.Op Fl x Ar width
.Op Fl X Ar x-position
.Op Fl y Ar length
.Op Fl y Ar height
.Op Fl Y Ar y-position
.Op Ar shell-command Op Ar argument ...
.Xc
@@ -3775,7 +3775,6 @@ the command behaves like
.Op Fl c Ar start-directory
.Op Fl e Ar environment
.Op Fl F Ar format
.Op Fl H Ar height
.Op Fl l Ar size
.Op Fl m Ar message
.Op Fl M Ar mode
@@ -3784,19 +3783,20 @@ the command behaves like
.Op Fl s Ar style
.Op Fl S Ar active-border-style
.Op Fl t Ar target-pane
.Op Fl w Ar width
.Op Fl x Ar x-position
.Op Fl y Ar y-position
.Op Fl x Ar width
.Op Fl X Ar x-position
.Op Fl y Ar height
.Op Fl Y Ar y-position
.Op Ar shell-command Op Ar argument ...
.Xc
.D1 Pq alias: Ic splitw
Creates a new pane.
Default behavior is to split the pane in a tiled layout.
Shares behavior with
.Ic new-pane .
.Ic new\-pane .
.Pp
See
.Ic new-pane
.Ic new\-pane
for more details.
.Tg swapp
.It Xo Ic swap\-pane
@@ -5289,7 +5289,7 @@ for floating panes.
A per-pane style set with
.Fl S
on the
.Ic new-pane
.Ic new\-pane
command or with
.Ic set-option Fl p
takes priority over this option.
@@ -5307,7 +5307,7 @@ for floating panes.
A per-pane style set with
.Fl s
on the
.Ic new-pane
.Ic new\-pane
command or with
.Ic select-pane Fl P
takes priority over this option.