From 36702737191c2fc26290dee531095f7d66f3461e Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 4 Jan 2017 00:07:01 -0500 Subject: [PATCH] [vim] Use cmd.exe directly on GVim (launcher='%s') (#787) --- plugin/fzf.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 819a6c9..06af648 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -382,7 +382,7 @@ function! s:xterm_launcher() endfunction unlet! s:launcher if has('win32') || has('win64') - let s:launcher = 'cmd.exe /C %s' + let s:launcher = '%s' else let s:launcher = function('s:xterm_launcher') endif @@ -411,8 +411,6 @@ function! s:execute(dict, command, temps) abort let fmt = type(Launcher) == 2 ? call(Launcher, []) : Launcher if has('unix') let escaped = "'".substitute(escaped, "'", "'\"'\"'", 'g')."'" - elseif has('win32') || has('win64') - let escaped = '"'.(escaped).'"' endif let command = printf(fmt, escaped) else