From a0d0e95cdf639f372b06db3e79e5a7ef01849e9d Mon Sep 17 00:00:00 2001 From: Chris Toomey Date: Sat, 3 Jan 2015 18:20:47 -0500 Subject: [PATCH] Unify SendCommand function & Command Closes #33 --- plugin/vim-tmux-runner.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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()