christoomey / vim-tmux-runner

Vim and tmux, sittin' in a tree...
MIT License
291 stars 37 forks source link

Add support for automatically re-attaching to the runner pane #107

Closed crcunningham closed 1 year ago

crcunningham commented 1 year ago

This might be very specific to my usage of this project but I often end up in a state with a detached runner when sending commands from another plugin using VtrSendCommandToRunner!. I thought I'd put this PR up in case this is a problem other people run in to as well.

With my usage of this plugin I want all of my commands to go to the same runner command. I created an option that makes that happen, g:VtrAutomaticReattachByName.

The changes are:

christoomey commented 1 year ago

@crcunningham thanks for the updates here! I'll be honest, I don't find myself using the detach / re-attach flow much these days, but these changes seem useful for folks like yourself who do and otherwise scoped enough that I'm hopeful they won't cause any complexity elsewhere. Thanks for the PR!

crcunningham commented 1 year ago

Cool, I'll keep living on it and send any bug fixes your way if I find issues.