]> granicus.if.org Git - neomutt/commitdiff
bind editor <delete> to delete-char
authorDamien Riegel <damien.riegel@gmail.com>
Thu, 20 Jul 2017 15:31:32 +0000 (16:31 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 20 Jul 2017 15:31:44 +0000 (16:31 +0100)
keymap.c

index 5c303d14b24eee893b3b21f435a90cf3eaa509fc..90c319ed217ed50579ecaaa6969005716be5d1cb 100644 (file)
--- a/keymap.c
+++ b/keymap.c
@@ -824,7 +824,7 @@ void km_init(void)
   km_bindkey("<home>", MENU_EDITOR, OP_EDITOR_BOL);
   km_bindkey("<end>", MENU_EDITOR, OP_EDITOR_EOL);
   km_bindkey("<backspace>", MENU_EDITOR, OP_EDITOR_BACKSPACE);
-  km_bindkey("<delete>", MENU_EDITOR, OP_EDITOR_BACKSPACE);
+  km_bindkey("<delete>", MENU_EDITOR, OP_EDITOR_DELETE_CHAR);
   km_bindkey("\177", MENU_EDITOR, OP_EDITOR_BACKSPACE);
 
   /* generic menu keymap */