From 02c6df7cd4bca89506cf1d0e4a08bd719e8f17d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 6 Apr 2016 22:03:18 +0200 Subject: vis: fix vi filter operators ! and = --- vis-modes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vis-modes.c') 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) { -- cgit v1.2.3