Closed vitillo closed 3 years ago
How far back does pane_id support go in tmux? I think this makes a lot of sense but I want to try and support tmux 1.6 and up.
A grep of the 1.6 sources seems to confirm that pane_id is supported. I didn't try to run it though.
this would also allow you to run commands in a pane which isn't visible, like if you have vim pane zoomed, correct?
That doesn't work; I did not investigate further but I guess it shouldn't be too difficult to add this feature once panes are identified through pane_id.
I haven't been able to send-keys
to a pane that is hidden because of a zoomed pane, so I am not sure it it will be possible
Thanks for this contribution @vitillo. I'm sorry you didn't get credited with it in the history quite right, but this did eventually get merged (albeit belatedly) via the refactored version of this in PR #110.
By using pane_id instead of pane_index it is possible to open a pane through vimux and successively open/close new panes through tmux while continuing to send keys via vimux only to the original pane.