aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2021-05-13 08:49:58 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2021-05-13 08:49:58 +0100
commit022d0210c5afa4e516183bf19715316ccca5d240 (patch)
treec4245f692cfed0bf1bd38db6c612ac9f07569058 /tmux.1
parentf03b27c72be01ad1934079d1b6907f94efff9dea (diff)
downloadrtmux-022d0210c5afa4e516183bf19715316ccca5d240.tar.gz
rtmux-022d0210c5afa4e516183bf19715316ccca5d240.tar.bz2
rtmux-022d0210c5afa4e516183bf19715316ccca5d240.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 e02e5728..c8170e3b 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