summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-04 08:26:42 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-04 08:26:42 +0000
commit62d59066c5df882a4a9ba4cb19d7adaeafe6a528 (patch)
treea507378e4b717df5c4f09e81f2a8157456cae1d5 /usr.bin
parent91042ebb8530b943fb57329047f6c6ba03901116 (diff)
C-v and M-v too.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/mode-key.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/mode-key.c b/usr.bin/tmux/mode-key.c
index afc3b70e1f8..dbe3f7f3387 100644
--- a/usr.bin/tmux/mode-key.c
+++ b/usr.bin/tmux/mode-key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mode-key.c,v 1.18 2009/10/04 08:23:01 nicm Exp $ */
+/* $OpenBSD: mode-key.c,v 1.19 2009/10/04 08:26:41 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -223,9 +223,11 @@ const struct mode_key_entry mode_key_emacs_choice[] = {
{ '\003' /* C-c */, 0, MODEKEYCHOICE_CANCEL },
{ '\016' /* C-n */, 0, MODEKEYCHOICE_DOWN },
{ '\020' /* C-p */, 0, MODEKEYCHOICE_UP },
+ { '\026' /* C-v */, 0, MODEKEYCHOICE_PAGEDOWN },
{ '\033' /* Escape */, 0, MODEKEYCHOICE_CANCEL },
{ '\r', 0, MODEKEYCHOICE_CHOOSE },
{ 'q', 0, MODEKEYCHOICE_CANCEL },
+ { 'v' | KEYC_ESCAPE, 0, MODEKEYCHOICE_PAGEUP },
{ KEYC_DOWN, 0, MODEKEYCHOICE_DOWN },
{ KEYC_NPAGE, 0, MODEKEYCHOICE_PAGEDOWN },
{ KEYC_PPAGE, 0, MODEKEYCHOICE_PAGEUP },