aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-03-02 00:32:41 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-03-02 00:32:41 +0000
commit7bc3f5dd8ac2d867df39225a4e2dda51b725c390 (patch)
tree8310259c70c9698743f7034275fc697c7d7e8f24 /tmux.1
parent56a33b157b4ca607850eedb6397c48707698537a (diff)
downloadrtmux-7bc3f5dd8ac2d867df39225a4e2dda51b725c390.tar.gz
rtmux-7bc3f5dd8ac2d867df39225a4e2dda51b725c390.tar.bz2
rtmux-7bc3f5dd8ac2d867df39225a4e2dda51b725c390.zip
Permit keys in copy mode to be prefixed by a repeat count, entered with
[1-9] in vi mode, or M-[1-9] in emacs mode. From Micah Cowan, tweaked a little by me.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 10 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 348c2b3a..6d24fd53 100644
--- a/tmux.1
+++ b/tmux.1
@@ -661,7 +661,16 @@ 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:
+Commands in copy mode may be prefaced by an optional repeat count.
+With vi key bindings, a prefix is entered using the number keys; with
+emacs, the Alt (meta) key and a number begins prefix entry.
+For example, to move the cursor forward by ten words, use
+.Ql M-1 0 M-f
+in emacs mode, and
+.Ql 10w
+in vi.
+.Pp
+Mode key bindings are defined in a set of named tables:
.Em vi-edit
and
.Em emacs-edit