diff --git a/plug.vim b/plug.vim index cddf43a..64c61b3 100644 --- a/plug.vim +++ b/plug.vim @@ -463,12 +463,10 @@ function! s:do(pull, todo) " FIXME: Escaping is incomplete. We could use shellescape with eval, " but it won't work on Windows. let g:_plug_do = '!'.escape(spec.do, '#!%') - nnoremap (plug-do) :execute g:_plug_do - execute "normal \(plug-do)" + execute "normal! :execute g:_plug_do\\" finally let result = v:shell_error ? ('Exit status: '.v:shell_error) : 'Done!' unlet g:_plug_do - unmap (plug-do) endtry elseif type == s:TYPE.funcref try