preservim / vimux

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

Check tmux binary availability at startup. #155

Closed lyuts closed 3 years ago

lyuts commented 7 years ago

Updated the plugin to:

let override the location of tmux executable.
check tmux executable availability.

I noticed that you get a lot of issues opened stating that vimux doesn't work at all, i.e. any attempt to send text to a tmux pane is basically a noop, rendring the plugin not working/usable. I came across several dev env setups where tmux is not on the PATH and/or have alias for tmux. This contributes to this class of problems. While proposed patch doesn't solve all of those, it at least address this one particular env setup approach and will explicitly warn the user.

Follow up of #146 which addressed comments from @ostera.