aboutsummaryrefslogtreecommitdiff
path: root/vis-modes.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-modes.c')
-rw-r--r--vis-modes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vis-modes.c b/vis-modes.c
index 177b034..b44212f 100644
--- a/vis-modes.c
+++ b/vis-modes.c
@@ -78,7 +78,8 @@ static void vis_mode_visual_line_enter(Vis *vis, Mode *old) {
for (Cursor *c = view_cursors(vis->win->view); c; c = view_cursors_next(c))
view_cursors_selection_start(c);
}
- vis_motion(vis, VIS_MOVE_NOP);
+ if (!vis->action.op)
+ vis_motion(vis, VIS_MOVE_NOP);
}
static void vis_mode_visual_line_leave(Vis *vis, Mode *new) {