From 1540d03c9745bbde26e46722782d618b4345c903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 6 Feb 2015 13:48:06 +0100 Subject: Delete key in visual mode should delete selection This might or might not work depending on terminfo entries etc. --- config.def.h | 1 + 1 file changed, 1 insertion(+) 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 } }, -- cgit v1.2.3