diff --git a/plugin/vim-tmux-runner.vim b/plugin/vim-tmux-runner.vim index 2cc60c2..696fccf 100644 --- a/plugin/vim-tmux-runner.vim +++ b/plugin/vim-tmux-runner.vim @@ -371,9 +371,7 @@ function! s:SendCtrlD() endfunction function! VtrSendCommand(command) - call s:EnsureRunnerPane() - let escaped_command = shellescape(a:command) - call s:SendKeys(escaped_command) + call s:SendCommandToRunner(a:command) endfunction function! s:DefineCommands()