From 28ca19e2d68b0ff10e7988c3524561ab4b78d882 Mon Sep 17 00:00:00 2001 From: sabetts Date: Mon, 13 Jun 2005 21:38:14 +0000 Subject: (edit_bindings): add C-h and C-m --- src/editor.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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}, -- cgit v1.2.3