mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Removed hardcoded actions on ctrl-d and ctrl-h hotkeys. Now these hotkeys defined in keymap file.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
0ef9273598
commit
b1bd2e2673
@ -1012,6 +1012,7 @@ correct_key_code (int code)
|
||||
c = KEY_BACKSPACE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* Unrecognized Ctrl-d is delete */
|
||||
if (c == (31 & 'd'))
|
||||
{
|
||||
@ -1025,6 +1026,7 @@ correct_key_code (int code)
|
||||
c = KEY_BACKSPACE;
|
||||
mod &= ~KEY_M_CTRL;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Shift+BackSpace is backspace */
|
||||
if (c == KEY_BACKSPACE && (mod & KEY_M_SHIFT))
|
||||
|
@ -13,8 +13,8 @@ EditUp = up
|
||||
EditDown = down
|
||||
EditEnter = enter
|
||||
EditReturn = shift-enter
|
||||
EditBackSpace = backspace
|
||||
EditDelete = delete
|
||||
EditBackSpace = backspace, ctrl-h
|
||||
EditDelete = delete, ctrl-d
|
||||
EditPageUp = pgup
|
||||
EditPageDown = pgdn
|
||||
EditWordLeft = ctrl-left; ctrl-z
|
||||
|
Loading…
Reference in New Issue
Block a user