preservim / vimux

easily interact with tmux from vim
MIT License
2.21k stars 161 forks source link

Extend Vimux to add option 'VimuxUseLast' #143

Open dkrieger opened 8 years ago

dkrieger commented 8 years ago

Description:

Add option to use last-active tmux pane as runner pane.

Vimux offered no user-friendly way to make an arbitrary pane the runner. With this patch, a user can just select the pane they wish to be the runner, then selectp -t [vim's pane]. If the desired runner pane is a tmux keystroke away, there's no need to enter tmux command mode at all.

Disclaimer:

This is my first pull request, sorry if this violates your guidelines, is incomplete, and/or is poorly formatted