From 5fe7e4ee3103330e9848566e15da449f5b13de5b Mon Sep 17 00:00:00 2001 From: mattn Date: Tue, 4 Mar 2014 13:04:42 +0900 Subject: [PATCH] Fix screen flicker --- autoload/expand_region.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/expand_region.vim b/autoload/expand_region.vim index 3bf2f70..732e536 100644 --- a/autoload/expand_region.vim +++ b/autoload/expand_region.vim @@ -146,10 +146,10 @@ function! s:get_candidate_dict(text_object) let winview = winsaveview() " Use ! as much as possible - exec 'normal! v' - exec 'silent! normal '.a:text_object + silent! exec 'normal! v' + silent! exec 'silent! normal '.a:text_object " The double quote is important - exec "normal! \" + silent! exec "normal! \" let selection = s:get_visual_selection() let ret = {