mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 17:39:09 +00:00
Some extra emacs keys from Christian Weisgerber.
This commit is contained in:
parent
cce03e138b
commit
1a88dbf797
@ -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>
|
* 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_CLEARSEL, '\007' },
|
||||||
{ MODEKEY_COPYSEL, '\027' },
|
{ MODEKEY_COPYSEL, '\027' },
|
||||||
{ MODEKEY_COPYSEL, KEYC_ADDESC('w') },
|
{ MODEKEY_COPYSEL, KEYC_ADDESC('w') },
|
||||||
|
{ MODEKEY_DOWN, '\016' },
|
||||||
{ MODEKEY_DOWN, KEYC_DOWN },
|
{ MODEKEY_DOWN, KEYC_DOWN },
|
||||||
{ MODEKEY_EOL, '\005' },
|
{ MODEKEY_EOL, '\005' },
|
||||||
{ MODEKEY_LEFT, '\002' },
|
{ MODEKEY_LEFT, '\002' },
|
||||||
{ MODEKEY_LEFT, KEYC_LEFT },
|
{ MODEKEY_LEFT, KEYC_LEFT },
|
||||||
|
{ MODEKEY_NPAGE, '\026' },
|
||||||
{ MODEKEY_NPAGE, KEYC_NPAGE },
|
{ MODEKEY_NPAGE, KEYC_NPAGE },
|
||||||
{ MODEKEY_NWORD, KEYC_ADDESC('f') },
|
{ MODEKEY_NWORD, KEYC_ADDESC('f') },
|
||||||
|
{ MODEKEY_PPAGE, KEYC_ADDESC('v') },
|
||||||
{ MODEKEY_PPAGE, KEYC_PPAGE },
|
{ MODEKEY_PPAGE, KEYC_PPAGE },
|
||||||
{ MODEKEY_PWORD, KEYC_ADDESC('b') },
|
{ MODEKEY_PWORD, KEYC_ADDESC('b') },
|
||||||
{ MODEKEY_QUIT, '\033' },
|
|
||||||
{ MODEKEY_QUIT, 'q' },
|
{ MODEKEY_QUIT, 'q' },
|
||||||
{ MODEKEY_RIGHT, '\006' },
|
{ MODEKEY_RIGHT, '\006' },
|
||||||
{ MODEKEY_RIGHT, KEYC_RIGHT },
|
{ MODEKEY_RIGHT, KEYC_RIGHT },
|
||||||
{ MODEKEY_STARTSEL, '\000' },
|
{ MODEKEY_STARTSEL, '\000' },
|
||||||
|
{ MODEKEY_UP, '\020' },
|
||||||
{ MODEKEY_UP, KEYC_UP },
|
{ MODEKEY_UP, KEYC_UP },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user