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

1
tmux.h
View File

@ -477,6 +477,7 @@ enum mode_key_cmd {
MODEKEYCOPY_SEARCHDOWN,
MODEKEYCOPY_SEARCHREVERSE,
MODEKEYCOPY_SEARCHUP,
MODEKEYCOPY_STARTNUMBERPREFIX,
MODEKEYCOPY_STARTOFLINE,
MODEKEYCOPY_STARTSELECTION,
MODEKEYCOPY_TOPLINE,