summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2014-03-26 01:34:59 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2014-03-26 01:34:59 +0900
commit49081711a9544bc6543ef535f7e5d6d07a14c86b (patch)
treec8c15def0621bf60a69301926e68d50957da5b22
parente7439ce193f40f55ae128c2ae9426a5b9282b21c (diff)
Execute clear before fzf
-rw-r--r--plugin/fzf.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 5d7e09f3..c55deb1b 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -69,6 +69,7 @@ function! fzf#run(...) abort
let cwd = getcwd()
execute 'chdir '.s:escape(dict.dir)
endif
+ silent !clear
execute 'silent !'.prefix.s:exec.' '.optstr.' > '.result
redraw!
if v:shell_error