Currently I hard coded the pane of which to send the keys to, I wonder how can I send the command to the right pane of the pane I'm currently focused on?


bind b send-keys -t 2 'make' Enter

Would like to have:

bind b send-keys -t toTheRightPane 'make' Enter

I found the answer from Here

bind b send-keys -t right 'make' Enter

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.