Use pane_id instead of pane_index to identify a pane since the latter can change after a pane is created.

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.