Hacker News new | ask | show | jobs
by bricestacey 5272 days ago
I would normally leave this as is, but adding the C-m at the end is non-trivial so I wanted to give a more proper example. You're right, it should be:

    !tmux send-keys -t right 'rspec %' C-m
Notice the C-m is not quoted.

Definitely want to give a big +1, but it's really cool/useful to know what's going on under the hood.