Skip to content

Commit

Permalink
Call RunVimTmuxCommand to send test commands to tmux.
Browse files Browse the repository at this point in the history
  • Loading branch information
drewolson committed Apr 6, 2012
1 parent 634766d commit 72c1baa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ftplugin/ruby.vim
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ class RubyTest
end

def send_to_vimux(test_command)
command = "clear &&" + test_command
Vim.command("let g:_VimTmuxCmd = \"#{command}\"")
CurrentTmuxSession.new.run_shell_command(command)
Vim.command("call RunVimTmuxCommand(\"clear && #{test_command}\")")
end
end
EOF

0 comments on commit 72c1baa

Please sign in to comment.