From c1824dacd881ce54954a9519a85d41c40c50f1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 27 Sep 2014 21:48:13 +0200 Subject: Hook up shifting in insert mode via CTRL-{D,T} --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.def.h b/config.def.h index 484b152..f911fb8 100644 --- a/config.def.h +++ b/config.def.h @@ -526,6 +526,8 @@ static KeyBinding vis_mode_insert[] = { { { CONTROL('M') }, insert_newline, { NULL } }, { { CONTROL('O') }, switchmode, { .i = VIS_MODE_OPERATOR } }, { { CONTROL('V') }, insert_verbatim, { NULL } }, + { { CONTROL('D') }, operator_twice, { .i = OP_SHIFT_LEFT } }, + { { CONTROL('T') }, operator_twice, { .i = OP_SHIFT_RIGHT } }, { { NONE('\t') }, insert_tab, { NULL } }, { /* empty last element, array terminator */ }, }; -- cgit v1.2.3