3 ms·
If you use tmux and vim, and if you run tests, then you must look at janko-m/vim-test and vim-dispatch. Runs any test seamlessly in the background. Vim-dispatc
by patrickdavey 10y ago
If you use tmux and vim, and if you run tests, then you must look at janko-m/vim-test and vim-dispatch. Runs any test seamlessly in the background.
Vim-dispatch also has the best intro video to anything ever ;)
https://vimeo.com/63116209 https://vimeo.com/63116209
- rcarmo 10y agoTim Pope is awesome. I was just staring and grinning at the end. :)
- flukus 10y agoIs vim dispatch still necessary now that there is native background processes?
- patrickdavey 10y agoGood question, I assume not, but the plugins work so.... I guess maybe the incredible and prolific Tim Pope well maybe update vim dispatch to work with the background processes.
- anonymousDan 10y agoVideo is awesome. What is the advantage over just having a separate tmux/screen session in which you launch your command though?
- patrickdavey 10y agoWell, the nice thing here is that with the integration between vim-test and vim-dispatch is that you don't have to do anything for having the tests run in a separate session. It just works. I mean really you _are_ just having it run in a separate session, just more smoothly. If the tests pass then the tmux window the tests were run in will just disappear, if not, you get popped back to the quickfix window with the errors listed. Give it a go and see how you like it! :)