preservim / vimux

easily interact with tmux from vim
MIT License
2.19k stars 158 forks source link

fix VimuxTogglePane #195

Closed abredall closed 3 years ago

abredall commented 3 years ago

Changed join-pane so it focuses on the new pane, grabs the index, then changes focus back to the last window (identical to the method in VimuxOpenRunner) Fixed setting of g:VimuxRunnerType as old method gave syntax errors. Also replaced -t flag in break-pane with -s, as we are focusing on the runner as the source pane.

VimuxTogglePane should work as expected now.