summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/editor.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 213b3f1..407435e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-13 Shawn Betts <sabetts@shitbender.gagrod>
+
+ * src/editor.c (edit_bindings): add C-h and C-m
+
2005-06-11 Shawn Betts <sabetts@shitbender.gagrod>
* src/main.c (clean_up): call del_frame_undo not pop_frame_undo
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},