5 ms·
Have you seen dispatch.vim? It makes it easy to dispatch commands from Vim to a tmux split, etc. https://github.com/tpope/vim-dispatch https://github.com/tpope
by jmcphers 11y ago
Have you seen dispatch.vim? It makes it easy to dispatch commands from Vim to a tmux split, etc.
https://github.com/tpope/vim-dispatch https://github.com/tpope/vim-dispatch
- kolme 11y agoYes, and I also use it, but :Dispatch takes the output to the error list, and :Start doesn't display the output (ot waits for promt). With this script I can have the following layout: .-----------------. | | | | Vim | output | | | | | | | `-----------------' I usually do this when editing a script, for a quick edit-run feedback. For example: :update | RunFifo bash % Runs the script and displays the output on the side. And then for saving and re-running the same command is just: @: