From c9499ddd97d1bb8395e896050e92c6eee7e4b205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 27 Jul 2015 20:44:49 +0200 Subject: vis: add an operator to create new cursors The operator creates a new cursor at the start of every line covered by the given range. It is currently only available as CTRL+O in visual mode. --- config.def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index f8f07bf..950fd54 100644 --- a/config.def.h +++ b/config.def.h @@ -421,6 +421,7 @@ static KeyBinding vis_mode_normal[] = { static KeyBinding vis_mode_visual[] = { { { 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