From 4673519c93a40fe0ed6f2ee3630802cd46506d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 15 May 2018 10:59:46 +0200 Subject: sam: keep selections after :> command Fix #700 --- sam.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sam.c') diff --git a/sam.c b/sam.c index b6a497e..60d11d0 100644 --- a/sam.c +++ b/sam.c @@ -1708,9 +1708,6 @@ static bool cmd_pipeout(Vis *vis, Win *win, Command *cmd, const char *argv[], Se int status = vis_pipe(vis, win->file, range, (const char*[]){ argv[1], NULL }, NULL, NULL, &buferr, read_buffer); - if (status == 0 && sel) - view_cursors_to(sel, range->start); - if (vis->interrupted) vis_info_show(vis, "Command cancelled"); else if (status != 0) -- cgit v1.2.3