aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2021-06-10 07:56:47 +0000
committernicm <nicm>2021-06-10 07:56:47 +0000
commit77b1290698e3bc3ea8edeadb96fd483af26efdfe (patch)
tree55e82b34e110926914e21fdd7f09f6cd90526537 /tmux.1
parent77bd6b9ec32bfbc7fbf4de09cae1ce7ea7f3ac35 (diff)
downloadrtmux-77b1290698e3bc3ea8edeadb96fd483af26efdfe.tar.gz
rtmux-77b1290698e3bc3ea8edeadb96fd483af26efdfe.tar.bz2
rtmux-77b1290698e3bc3ea8edeadb96fd483af26efdfe.zip
More accurate vi(1) word navigation in copy mode and on the status line.
This changes the meaning of the word-separators option - setting it to the empty string is equivalent to the previous behavior. From Will Noble in GitHub issue 2693.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.116
1 files changed, 6 insertions, 10 deletions
diff --git a/tmux.1 b/tmux.1
index d44dd591..2a77ba21 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1782,19 +1782,18 @@ commands) or when the cursor reaches the bottom (for scrolling commands).
.Ql -no-clear
variants do not clear the selection.
.Pp
-The next and previous word keys use space and the
-.Ql - ,
-.Ql _
-and
-.Ql @
-characters as word delimiters by default, but this can be adjusted by
-setting the
+The next and previous word keys skip over whitespace and treat consecutive
+runs of either word separators or other letters as words.
+Word separators can be customized with the
.Em word-separators
session 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
the word separator.
+Setting
+.Em word-separators
+to the empty string makes next/previous word equivalent to next/previous space.
.Pp
The jump commands enable quick movement within a line.
For instance, typing
@@ -3974,9 +3973,6 @@ If set to both, a bell and a message are produced.
Sets the session'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 \ -_@ .
-.El
.Pp
Available window options are:
.Pp