From 7948d6ca47825cc122580ecdad9187765fcf8c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Silkeb=C3=A6kken?= Date: Mon, 28 Mar 2011 22:46:32 +0200 Subject: [PATCH] Use "normal gv" to restore visual selection --- plugin/EasyMotion.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/EasyMotion.vim b/plugin/EasyMotion.vim index f9b3734..7796f46 100644 --- a/plugin/EasyMotion.vim +++ b/plugin/EasyMotion.vim @@ -361,7 +361,7 @@ " Restore cursor position/selection if ! empty(a:visualmode) - silent exec 'normal! `<' . a:visualmode . '`>' + silent exec 'normal! gv' else call setpos('.', [0, orig_pos[0], orig_pos[1]]) endif