From 60fe132d6c59d54021091af8e5aa09fcd4704562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 30 Jun 2015 11:13:17 +0200 Subject: Cleanup insert/replace mode input handling View should only display the file content, but not modify it. --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 044c530..9d491a0 100644 --- a/config.def.h +++ b/config.def.h @@ -486,7 +486,7 @@ static KeyBinding vis_mode_readline[] = { BACKSPACE( call, f, editor_backspace_key ), { { NONE(ESC) }, switchmode, { .i = VIS_MODE_NORMAL } }, { { CONTROL('c') }, switchmode, { .i = VIS_MODE_NORMAL } }, - { { CONTROL('D') }, call, { .f = editor_delete_key } }, + { { CONTROL('D') }, delete , { .i = MOVE_CHAR_NEXT } }, { { CONTROL('W') }, delete, { .i = MOVE_LONGWORD_START_PREV } }, { { CONTROL('U') }, delete, { .i = MOVE_LINE_BEGIN } }, { /* empty last element, array terminator */ }, -- cgit v1.2.3