Skip to content

Commit

Permalink
Set g:_VimTmuxCmd before running test so RunLastVimTmuxCommand works.
Browse files Browse the repository at this point in the history
  • Loading branch information
pgr0ss committed Apr 6, 2012
1 parent 24dd274 commit 634766d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ftplugin/ruby.vim
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ class RubyTest
end

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

0 comments on commit 634766d

Please sign in to comment.