diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-04-28 11:34:26 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-05-16 13:24:01 +0200 |
| commit | e34b829bbb284972dd391ae00b22274e47d55f16 (patch) | |
| tree | 9d6092a1f6a036d0fc87bfc1dc6e7050e3c5b6fb /vis.c | |
| parent | 55ea139a5bee4d3dd503ccc255865fc1c6c3fabe (diff) | |
| download | vis-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
