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:
Slava Zanko 2010-11-18 13:15:20 +02:00 committed by Andrew Borodin
parent 0ef9273598
commit b1bd2e2673
2 changed files with 4 additions and 2 deletions

View File

@ -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))

View File

@ -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