summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/editor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/editor.c b/src/editor.c
index 1247e67..98147ac 100644
--- a/src/editor.c
+++ b/src/editor.c
@@ -84,6 +84,7 @@ static edit_binding edit_bindings[] =
{{XK_d, RP_CONTROL_MASK}, editor_delete_char},
{{XK_Delete, 0}, editor_delete_char},
{{XK_BackSpace, 0}, editor_backward_delete_char},
+ {{XK_h, RP_CONTROL_MASK}, editor_backward_delete_char},
{{XK_BackSpace, RP_META_MASK}, editor_backward_kill_word},
{{XK_d, RP_META_MASK}, editor_kill_word},
{{XK_k, RP_CONTROL_MASK}, editor_kill_line},
@@ -94,6 +95,7 @@ static edit_binding edit_bindings[] =
{{XK_n, RP_CONTROL_MASK}, editor_history_next},
{{XK_Down, 0}, editor_history_next},
{{XK_Return, 0}, editor_enter},
+ {{XK_m, RP_CONTROL_MASK}, editor_enter},
{{XK_KP_Enter, 0}, editor_enter},
{{XK_Tab, 0}, editor_complete_next},
{{XK_ISO_Left_Tab, 0}, editor_complete_prev},