Unify SendCommand function & Command

Closes #33
This commit is contained in:
Chris Toomey 2015-01-03 18:20:47 -05:00
parent fa1e9a53e3
commit a0d0e95cdf

View File

@ -371,9 +371,7 @@ function! s:SendCtrlD()
endfunction endfunction
function! VtrSendCommand(command) function! VtrSendCommand(command)
call s:EnsureRunnerPane() call s:SendCommandToRunner(a:command)
let escaped_command = shellescape(a:command)
call s:SendKeys(escaped_command)
endfunction endfunction
function! s:DefineCommands() function! s:DefineCommands()