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