You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Run in a terminal, but send output to quickfix? #262
The -mode=? option allows where to run the job: async (quickfix window), term, etc.
:AsyncRun -mode term make
This will open a terminal window and run the command there. It's very useful, but one thing I wish is the output of the command can be captured and sent to the quickfix window when the job finishes, and/or streamed to the quickfix window (optionally).
Such a feature would very useful to navigate and browse the command output (which will be lost when the terminal closes), like compilation error and diagnostics messages, etc.
That's quite ugly -- but quite nice workaround. I think it would be quite non-trivial to stream the output from the terminal (but technically possible, see https://github.com/tpope/vim-dispatch), but first-class and seamless API would be good to have (so one can switch between different modes easily).
Activity
skywind3000 commentedon Oct 31, 2022
It is possible:
If you are using asynctasks.vim:
You can define a new task:
then:
wookayin commentedon Nov 1, 2022
That's quite ugly -- but quite nice workaround. I think it would be quite non-trivial to stream the output from the terminal (but technically possible, see https://github.com/tpope/vim-dispatch), but first-class and seamless API would be good to have (so one can switch between different modes easily).
skywind3000 commentedon Nov 2, 2022
try this:
https://github.com/skywind3000/asyncrun.vim/releases/tag/2.10.8
wookayin commentedon Nov 5, 2022
Why does it print some verbose messages like the following?