Add copy-mode -c to initialize the preferred cursor column

This commit is contained in:
Michael Grant
2026-10-05 12:29:17 +01:00
parent 8f25579c5a
commit a1825146ee
5 changed files with 206 additions and 3 deletions

7
tmux.1
View File

@@ -2609,12 +2609,17 @@ The synopsis for the
command is:
.Bl -tag -width Ds
.It Xo Ic copy\-mode
.Op Fl dekHMqSu
.Op Fl cdekHMqSu
.Op Fl s Ar src\-pane
.Op Fl t Ar target\-pane
.Xc
Enter copy mode.
.Pp
.Fl c
initializes the preferred cursor column to the column at which copy mode is
entered, rather than initially following the end of each line.
Subsequent cursor movements use the normal copy mode behaviour.
.Pp
.Fl u
enters copy mode and scrolls one page up and
.Fl d