version 1.816, 2021/02/02 07:33:29 |
version 1.817, 2021/02/05 12:23:49 |
|
|
.Ic base-index |
.Ic base-index |
option. |
option. |
.It Xo Ic new-window |
.It Xo Ic new-window |
.Op Fl abdkP |
.Op Fl abdkPS |
.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 |
|
|
shown, unless the |
shown, unless the |
.Fl k |
.Fl k |
flag is used, in which case it is destroyed. |
flag is used, in which case it is destroyed. |
|
If |
|
.Fl S |
|
is given and a window named |
|
.Ar window-name |
|
already exists, it is selected (unless |
|
.Fl d |
|
is also given in which case the command does nothing). |
|
.Pp |
.Ar shell-command |
.Ar shell-command |
is the command to execute. |
is the command to execute. |
If |
If |
|
|
.Bd -literal -offset indent |
.Bd -literal -offset indent |
#{W:#{E:window-status-format} ,#{E:window-status-current-format} } |
#{W:#{E:window-status-format} ,#{E:window-status-current-format} } |
.Ed |
.Ed |
|
.Pp |
|
.Ql N:\& |
|
checks if a window (without any suffix or with the |
|
.Ql w |
|
suffix) or a session (with the |
|
.Ql s |
|
suffix) name exists, for example |
|
.Ql `N/w:foo` |
|
is replaced with 1 if a window named |
|
.Ql foo |
|
exists. |
.Pp |
.Pp |
A prefix of the form |
A prefix of the form |
.Ql s/foo/bar/:\& |
.Ql s/foo/bar/:\& |