aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.115
1 files changed, 12 insertions, 3 deletions
diff --git a/tmux.1 b/tmux.1
index bbb66dc7..348c2b3a 100644
--- a/tmux.1
+++ b/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