Fix empty argument to splitw/newp and add -k to copy-mode.

This commit is contained in:
nicm
2026-07-08 08:07:42 +00:00
parent 28c2005a2a
commit 25060c3fa5
4 changed files with 8 additions and 5 deletions

5
tmux.1
View File

@@ -2585,7 +2585,7 @@ The synopsis for the
command is:
.Bl -tag -width Ds
.It Xo Ic copy\-mode
.Op Fl deHMqSu
.Op Fl dekHMqSu
.Op Fl s Ar src\-pane
.Op Fl t Ar target\-pane
.Xc
@@ -2625,6 +2625,9 @@ example with:
bind PageUp copy\-mode \-eu
bind PageDown copy\-mode \-ed
.Ed
.Pp
.Fl k
kills the pane when the mode is exited.
.El
.Pp
A number of preset arrangements of panes are available, these are called