christoomey / vim-tmux-runner

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

Run command and then close pane #50

Open jackfranklin opened 9 years ago

jackfranklin commented 9 years ago

Hey Chris,

Thanks for your work on this plugin - have just set it up after watching your series on Upcase. I swapped from Dispatch and on the whole I'm finding this workflow much nicer, but there's one small thing I'm missing. What I liked about Dispatch for test running was that if everything passed, it would go away and not show anything on screen.

I was wondering how you would feel about adding a command to this plugin that will run the given command and immediately destroy the runner pane, if the command it run exited without error. I would offer to make a PR but my VimScript is very janky!

jackfranklin commented 9 years ago

Hey @christoomey , any thoughts on this?

Thanks :)

christoomey commented 9 years ago

Hey @jackfranklin,

Sorry for the lack of response. I poked around with this and tried to introduce the functionality, but looks like Dispatch is doing some really fancy things to get it to work. I'll keep this issue open as I'd like to revisit this idea, but nothing straightforward stands out to me.