From c56f3a4c6cf667453ca5b867d567e5688e37072f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 2 Aug 2015 12:21:13 +0200 Subject: vis: use I and A instead of CTRL-O for new cursors in visual mode I and A creates a new cursor at start/end of every selected line. --- config.def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index a2eabee..3736833 100644 --- a/config.def.h +++ b/config.def.h @@ -436,9 +436,10 @@ static KeyBinding vis_mode_visual[] = { { { CONTROL('N') }, cursors_select_next, { } }, { { CONTROL('X') }, cursors_select_skip, { } }, { { CONTROL('P') }, cursors_remove, { } }, + { { NONE('I') }, cursors_split, { .i = -1 } }, + { { NONE('A') }, cursors_split, { .i = +1 } }, { { KEY(BACKSPACE) }, operator, { .i = OP_DELETE } }, { { KEY(DELETE) }, operator, { .i = OP_DELETE } }, - { { CONTROL('O') }, operator, { .i = OP_CURSOR } }, { { 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