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.
This commit is contained in:
Nicholas Marriott
2010-03-02 00:32:41 +00:00
parent 56a33b157b
commit 7bc3f5dd8a
4 changed files with 167 additions and 46 deletions

11
tmux.1
View File

@ -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