aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-08-02 12:21:13 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-08-02 12:21:13 +0200
commitc56f3a4c6cf667453ca5b867d567e5688e37072f (patch)
tree5bca3ce763c2532e5a52702c43e974593524b272 /config.def.h
parent370a94f6931a7e325ef1b23f0c15996c672ee587 (diff)
downloadvis-c56f3a4c6cf667453ca5b867d567e5688e37072f.tar.gz
vis-c56f3a4c6cf667453ca5b867d567e5688e37072f.tar.xz
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.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 2 insertions, 1 deletions
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 } },