From 1a88dbf7975c6cb28b4541e181f96ce5a19e2b2b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 13 Feb 2009 16:40:04 +0000 Subject: [PATCH] Some extra emacs keys from Christian Weisgerber. --- mode-key.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mode-key.c b/mode-key.c index 99bfd7e1..48650c9a 100644 --- a/mode-key.c +++ b/mode-key.c @@ -1,4 +1,4 @@ -/* $Id: mode-key.c,v 1.7 2009-01-21 18:19:32 nicm Exp $ */ +/* $Id: mode-key.c,v 1.8 2009-02-13 16:40:04 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -56,19 +56,22 @@ const struct mode_key_entry mode_key_table_emacs[] = { { MODEKEY_CLEARSEL, '\007' }, { MODEKEY_COPYSEL, '\027' }, { MODEKEY_COPYSEL, KEYC_ADDESC('w') }, + { MODEKEY_DOWN, '\016' }, { MODEKEY_DOWN, KEYC_DOWN }, { MODEKEY_EOL, '\005' }, { MODEKEY_LEFT, '\002' }, { MODEKEY_LEFT, KEYC_LEFT }, + { MODEKEY_NPAGE, '\026' }, { MODEKEY_NPAGE, KEYC_NPAGE }, { MODEKEY_NWORD, KEYC_ADDESC('f') }, + { MODEKEY_PPAGE, KEYC_ADDESC('v') }, { MODEKEY_PPAGE, KEYC_PPAGE }, { MODEKEY_PWORD, KEYC_ADDESC('b') }, - { MODEKEY_QUIT, '\033' }, { MODEKEY_QUIT, 'q' }, { MODEKEY_RIGHT, '\006' }, { MODEKEY_RIGHT, KEYC_RIGHT }, { MODEKEY_STARTSEL, '\000' }, + { MODEKEY_UP, '\020' }, { MODEKEY_UP, KEYC_UP }, };