christoomey / vim-tmux-runner

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

VtrDetachRunner detaches vim not the runner. #77

Open AlexChalk opened 6 years ago

AlexChalk commented 6 years ago

When I use VtrDetachRunner it is vim that ends up in a pane labelled VTR_Pane, and the focus is left on the runner.

If I move into vim and try the open/focus/reattach runner commands, vim is unable to find the runner window.

Happy to provide more info, but I'm not sure what is relevant.

christoomey commented 6 years ago

Hmm, unfortunately I haven't been using VtrDetachRunner for a while now and I think it may have regressed a bit. I have hopes / plans of doing a significant refactor to have VTR manages panes, detailed a bit in https://github.com/christoomey/vim-tmux-runner/issues/66, which hopefully would help clean this up, but beyond that I don't expect I'll have much in the way of answers before tackling that change. Sorry for the trouble!

AlexChalk commented 6 years ago

Thanks for the heads up. Addressing #66 sounds good—with smarter pane attaching I don't think I'd have a use case for VtrDetachRunner.