aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 9c055ca..f4d20a3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -643,8 +643,17 @@ static KeyBinding vis_normal[] = {
};
static KeyBinding vis_visual[] = {
- { { NONE(ESC) }, switchmode, { .i = VIS_MODE_NORMAL } },
- { /* empty last element, array terminator */ },
+ { { NONE(ESC) }, switchmode, { .i = VIS_MODE_NORMAL } },
+ { { CONTROL('c') }, switchmode, { .i = VIS_MODE_NORMAL } },
+ BACKSPACE( operator, i, OP_DELETE ),
+ { { CONTROL('H') }, operator, { .i = OP_DELETE } },
+ { { NONE('d') }, operator, { .i = OP_DELETE } },
+ { { NONE('x') }, operator, { .i = OP_DELETE } },
+ { { NONE('y') }, operator, { .i = OP_YANK } },
+ { { NONE('c') }, operator, { .i = OP_CHANGE } },
+ { { NONE('r') }, operator, { .i = OP_CHANGE } },
+ { { NONE('s') }, operator, { .i = OP_CHANGE } },
+ { /* empty last element, array terminator */ },
};
static void vis_visual_enter(void) {