diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-02-05 01:34:08 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-02-05 01:34:08 +0000 |
commit | fa5be75396d686ccb84ca7c1d836a581ec4a3980 (patch) | |
tree | bcbd7394f230b4ef237e9a8a3338d268da33ce68 /tmux.1 | |
parent | d398bbc53be4a6f65346e70e9bdfc797ad583528 (diff) | |
download | rtmux-fa5be75396d686ccb84ca7c1d836a581ec4a3980.tar.gz rtmux-fa5be75396d686ccb84ca7c1d836a581ec4a3980.tar.bz2 rtmux-fa5be75396d686ccb84ca7c1d836a581ec4a3980.zip |
Sync OpenBSD patchset 634:
vi-style B, W and E keys in copy mode to navigate between words treating only
spaces as word separators. Also add . to the list of word separators for
standard word navigation.
From Micah Cowan, tweaked slightly by me.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.227 2010-02-05 01:31:06 tcunha Exp $ +.\" $Id: tmux.1,v 1.228 2010-02-05 01:34:08 tcunha Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -535,7 +535,7 @@ The keys available depend on whether emacs or vi mode is selected .Ic mode-keys option). The following keys are supported as appropriate for the mode: -.Bl -column "FunctionXXXXXXXXXXXX" "viXXXXXXXXXX" "emacs" -offset indent +.Bl -column "FunctionXXXXXXXXXXXXXX" "viXXXXXXXXXX" "emacs" -offset indent .It Sy "Function" Ta Sy "vi" Ta Sy "emacs" .It Li "Back to indentation" Ta "^" Ta "M-m" .It Li "Bottom of history" Ta "G" Ta "M-<" @@ -555,11 +555,14 @@ The following keys are supported as appropriate for the mode: .It Li "Half page down" Ta "C-d" Ta "M-Down" .It Li "Half page up" Ta "C-u" Ta "M-Up" .It Li "Next page" Ta "C-f" Ta "Page down" +.It Li "Next space" Ta "W" Ta "" +.It Li "Next space, end of word" Ta "E" Ta "" .It Li "Next word" Ta "w" Ta "" .It Li "Next word end" Ta "e" Ta "M-f" .It Li "Paste buffer" Ta "p" Ta "C-y" .It Li "Previous page" Ta "C-b" Ta "Page up" .It Li "Previous word" Ta "b" Ta "M-b" +.It Li "Previous space" Ta "B" Ta "" .It Li "Quit mode" Ta "q" Ta "Escape" .It Li "Scroll down" Ta "C-Down or C-e" Ta "C-Down" .It Li "Scroll up" Ta "C-Up or C-y" Ta "C-Up" @@ -572,6 +575,18 @@ The following keys are supported as appropriate for the mode: .It Li "Transpose chars" Ta "" Ta "C-t" .El .Pp +The next and previous word keys use space and the +.Ql - , +.Ql _ , +.Ql \&" +and +.Ql @ +characters as word delimiters. +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. +.Pp These key bindings are defined in a set of named tables: .Em vi-edit and |