aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-02-06 13:48:06 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-02-06 13:48:06 +0100
commit1540d03c9745bbde26e46722782d618b4345c903 (patch)
tree010387d730fd57e02f7380e4952754ee3b582ea6 /config.def.h
parentde31d1fa6ae04a6893d0127d4f18a1413d5b5f76 (diff)
downloadvis-1540d03c9745bbde26e46722782d618b4345c903.tar.gz
vis-1540d03c9745bbde26e46722782d618b4345c903.tar.xz
Delete key in visual mode should delete selection
This might or might not work depending on terminfo entries etc.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 2d4515f..04274e2 100644
--- a/config.def.h
+++ b/config.def.h
@@ -426,6 +426,7 @@ static KeyBinding vis_mode_normal[] = {
static KeyBinding vis_mode_visual[] = {
BACKSPACE( operator, i, OP_DELETE ),
+ { { KEY(DC) }, operator, { .i = OP_DELETE } },
{ { NONE(ESC) }, switchmode, { .i = VIS_MODE_NORMAL } },
{ { CONTROL('c') }, switchmode, { .i = VIS_MODE_NORMAL } },
{ { NONE('v') }, switchmode, { .i = VIS_MODE_NORMAL } },