mirror of https://github.com/MidnightCommander/mc
* editkeys.c (common_key_map): Delete previous word by
Alt-Backspace. Fix Ctrl-Backspace on some terminals. Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
This commit is contained in:
parent
61317cb730
commit
7cdbc354c2
|
@ -1,3 +1,9 @@
|
||||||
|
2003-03-07 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* editkeys.c (common_key_map): Delete previous word by
|
||||||
|
Alt-Backspace. Fix Ctrl-Backspace on some terminals.
|
||||||
|
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
2003-03-06 Andrew V. Samoilov <sav@bcs.zp.ua>
|
2003-03-06 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
* syntax.c (edit_read_syntax_file): Fix segmentation violation.
|
* syntax.c (edit_read_syntax_file): Fix segmentation violation.
|
||||||
|
|
|
@ -180,6 +180,7 @@ static long const common_key_map[] = {
|
||||||
KEY_M_CTRL | (KEY_F (4)), CK_Replace_Again,
|
KEY_M_CTRL | (KEY_F (4)), CK_Replace_Again,
|
||||||
KEY_M_CTRL | (KEY_F (7)), CK_Find_Again,
|
KEY_M_CTRL | (KEY_F (7)), CK_Find_Again,
|
||||||
KEY_M_CTRL | KEY_BACKSPACE, CK_Undo,
|
KEY_M_CTRL | KEY_BACKSPACE, CK_Undo,
|
||||||
|
KEY_M_CTRL | 0177, CK_Undo,
|
||||||
KEY_M_CTRL | KEY_PPAGE, CK_Beginning_Of_Text,
|
KEY_M_CTRL | KEY_PPAGE, CK_Beginning_Of_Text,
|
||||||
KEY_M_CTRL | KEY_NPAGE, CK_End_Of_Text,
|
KEY_M_CTRL | KEY_NPAGE, CK_End_Of_Text,
|
||||||
KEY_M_CTRL | KEY_HOME, CK_Beginning_Of_Text,
|
KEY_M_CTRL | KEY_HOME, CK_Beginning_Of_Text,
|
||||||
|
@ -191,6 +192,10 @@ static long const common_key_map[] = {
|
||||||
KEY_M_CTRL | KEY_IC, CK_XStore,
|
KEY_M_CTRL | KEY_IC, CK_XStore,
|
||||||
KEY_M_CTRL | KEY_DC, CK_Remove,
|
KEY_M_CTRL | KEY_DC, CK_Remove,
|
||||||
|
|
||||||
|
/* Alt */
|
||||||
|
KEY_M_ALT | KEY_BACKSPACE, CK_Delete_Word_Left,
|
||||||
|
KEY_M_ALT | 0177, CK_Delete_Word_Left,
|
||||||
|
|
||||||
0, 0
|
0, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue