mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Option to set the characters considered word separators in copy mode, from
Micah Cowan.
This commit is contained in:
15
tmux.1
15
tmux.1
@ -649,11 +649,13 @@ The following keys are supported as appropriate for the mode:
|
||||
.Pp
|
||||
The next and previous word keys use space and the
|
||||
.Ql - ,
|
||||
.Ql _ ,
|
||||
.Ql \&"
|
||||
.Ql _
|
||||
and
|
||||
.Ql @
|
||||
characters as word delimiters.
|
||||
characters as word delimiters by default, but this can be adjusted by
|
||||
setting the
|
||||
.Em word-separators
|
||||
window option.
|
||||
Next word moves to the start of the next word, next word end to the end of the
|
||||
next word and previous word to the start of the previous word.
|
||||
The three next and previous space keys work similarly but use a space alone as
|
||||
@ -2031,6 +2033,13 @@ Like
|
||||
.Ar window-status-format ,
|
||||
but is the format used when the window is the current window.
|
||||
.Pp
|
||||
.It Ic word-separators Ar string
|
||||
Sets the window's conception of what characters are considered word
|
||||
separators, for the purposes of the next and previous word commands in
|
||||
copy mode.
|
||||
The default is
|
||||
.Ql \ -_@ .
|
||||
.Pp
|
||||
.It Xo Ic xterm-keys
|
||||
.Op Ic on | off
|
||||
.Xc
|
||||
|
Reference in New Issue
Block a user