From e34b829bbb284972dd391ae00b22274e47d55f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 28 Apr 2018 11:34:26 +0200 Subject: vis: remove v and V in operator pending mode --- vis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis.c') 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; -- cgit v1.2.3