Replies: 1 comment
-
Do you have a code example or minimal reproducible case you've tried? (perhaps to begin: Just use a simple tmux setup locally?)
Interestingly, Also this worked: I tested by having vim in
Then I went back into insert mode:
Do you have nested tmux sessions? You may need to escape twice |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Perhaps I missed the point in the documentation, or it is something obvious, but here is my use case:
I have a script (Python with libtmux) creating a session and 2 windows, with 2 panes in the second window. In these 2 panes I'm connecting through SSH to 2 different servers.
All that is working fine (and by the way, libtmux is great to do that), but I want to send a command 'set synchronize-panes on' in the 2nd window to synchronize the 2 panes (I want to send the same commands to both servers)
... and I don't know how to do that
I found this issue, which explains how to send C-b via send_keys, but is it the 'tmuxlib' way ? is there a dedicated function to send tmux commands?
thanks
EDIT1: solution in issue linked is not working for me
Beta Was this translation helpful? Give feedback.
All reactions