diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-27 20:44:49 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-28 13:21:50 +0200 |
| commit | c9499ddd97d1bb8395e896050e92c6eee7e4b205 (patch) | |
| tree | 77228c1a6b3c71716a155c3b7dac1bbde33683dd /config.def.h | |
| parent | c6031d7f1f3278979c9f5c9f4802b4e1f1cbd683 (diff) | |
| download | vis-c9499ddd97d1bb8395e896050e92c6eee7e4b205.tar.gz vis-c9499ddd97d1bb8395e896050e92c6eee7e4b205.tar.xz | |
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.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 } }, |
