Go back to the main page

Use tmux send keys to beam Rails commands to other panes from the vim command line


Running a spec in the right tmux pane using tmux send-keys.

!tmux send-keys -t right 'time bundle exec rspec spec/integration/login_and_buy_product_spec.rb:29' C-m

Restarting spork in tmux using send-keys.

!tmux send-keys -t 3 C-c 'bundle exec spork' C-m

Restart spork in tmux using send-key to window and certain pane (3 window bottom pane).

!tmux send-keys -t 3.bottom C-c 'bundle exec spork' C-m
  • Pushed on 06/06/2013 by Christian