diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-01-06 10:59:40 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-06 10:59:40 +0100 |
| commit | c000f5c19cf78539c954a75cc37fc8f6dced4f3a (patch) | |
| tree | a52f6cc93bf7550155129b5756bdccb43765e42f /main.c | |
| parent | 48cd210826eb64e68f9f1642a32317d7b88cbffa (diff) | |
| download | vis-c000f5c19cf78539c954a75cc37fc8f6dced4f3a.tar.gz vis-c000f5c19cf78539c954a75cc37fc8f6dced4f3a.tar.xz | |
vis: apply <C-v> to all cursors not only primary one
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1519,11 +1519,8 @@ static const char *insert_verbatim(Vis *vis, const char *keys, const Arg *arg) { } } - if (len > 0) { - size_t pos = view_cursor_get(vis_view(vis)); - vis_insert(vis, pos, data, len); - view_cursor_to(vis_view(vis), pos + len); - } + if (len > 0) + vis_insert_key(vis, data, len); return keys; } |
