aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-04-28 11:34:26 +0200
committerMarc André Tanner <mat@brain-dump.org>2018-05-16 13:24:01 +0200
commite34b829bbb284972dd391ae00b22274e47d55f16 (patch)
tree9d6092a1f6a036d0fc87bfc1dc6e7050e3c5b6fb /vis.c
parent55ea139a5bee4d3dd503ccc255865fc1c6c3fabe (diff)
downloadvis-e34b829bbb284972dd391ae00b22274e47d55f16.tar.gz
vis-e34b829bbb284972dd391ae00b22274e47d55f16.tar.xz
vis: remove v and V in operator pending mode
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index 431c779..64ad3ba 100644
--- a/vis.c
+++ b/vis.c
@@ -822,11 +822,11 @@ void vis_do(Vis *vis) {
count = 1; /* count should apply to inserted text not motion */
bool repeatable = a->op && !vis->macro_operator && !vis->win->parent;
bool multiple_cursors = view_selections_count(view) > 1;
+
bool linewise = !(a->type & CHARWISE) && (
a->type & LINEWISE || (a->movement && a->movement->type & LINEWISE) ||
vis->mode == &vis_modes[VIS_MODE_VISUAL_LINE]);
-
Register *reg = a->reg;
size_t reg_slot = multiple_cursors ? EPOS : 0;
size_t last_reg_slot = reg_slot;