Some extra emacs keys from Christian Weisgerber.

This commit is contained in:
Nicholas Marriott 2009-02-13 16:40:04 +00:00
parent cce03e138b
commit 1a88dbf797

View File

@ -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 <nicm@users.sourceforge.net>
@ -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 },
};