diff --git a/plugin/vim-tmux-runner.vim b/plugin/vim-tmux-runner.vim index fa19ffa..f9b677e 100644 --- a/plugin/vim-tmux-runner.vim +++ b/plugin/vim-tmux-runner.vim @@ -488,7 +488,7 @@ function! s:DefineCommands() command! VtrFlushCommand call s:FlushCommand() command! VtrSendCtrlD call s:SendCtrlD() command! VtrSendCtrlC call s:SendCtrlC() - command! VtrAttachToPane call s:PromptForRunnerToAttach() + command! -bang -nargs=? -bar VtrAttachToPane call s:AttachToPane() command! -nargs=1 VtrSendKeysRaw call s:SendKeysRaw() endfunction