version 1.62, 2015/04/19 21:34:21 |
version 1.63, 2015/05/08 16:33:29 |
|
|
* (any matching MODEKEYEDIT_SWITCHMODE*) are special-cased to do this. |
* (any matching MODEKEYEDIT_SWITCHMODE*) are special-cased to do this. |
*/ |
*/ |
|
|
|
/* Entry in the default mode key tables. */ |
|
struct mode_key_entry { |
|
int key; |
|
|
|
/* |
|
* Editing mode for vi: 0 is edit mode, keys not in the table are |
|
* returned as MODEKEY_OTHER; 1 is command mode, keys not in the table |
|
* are returned as MODEKEY_NONE. This is also matched on, allowing some |
|
* keys to be bound in edit mode. |
|
*/ |
|
int mode; |
|
enum mode_key_cmd cmd; |
|
}; |
|
|
/* Edit keys command strings. */ |
/* Edit keys command strings. */ |
const struct mode_key_cmdstr mode_key_cmdstr_edit[] = { |
const struct mode_key_cmdstr mode_key_cmdstr_edit[] = { |
{ MODEKEYEDIT_BACKSPACE, "backspace" }, |
{ MODEKEYEDIT_BACKSPACE, "backspace" }, |