aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-06-30 11:13:17 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-06-30 11:13:17 +0200
commit60fe132d6c59d54021091af8e5aa09fcd4704562 (patch)
tree506249a4ebd7a09c0e2433c2a920c8c89a1ca4a8 /config.def.h
parent82a10e051c593e133554ce9675169fd68bb02ad7 (diff)
downloadvis-60fe132d6c59d54021091af8e5aa09fcd4704562.tar.gz
vis-60fe132d6c59d54021091af8e5aa09fcd4704562.tar.xz
Cleanup insert/replace mode input handling
View should only display the file content, but not modify it.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
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 */ },