skywind3000 / asyncrun.vim

:rocket: Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
https://www.vim.org/scripts/script.php?script_id=5431
MIT License
1.86k stars 111 forks source link

Keeps the logs of multiple asyncrun command output #49

Open ericsunplus opened 7 years ago

ericsunplus commented 7 years ago

Every time a new command is run, the quickfix window is flushed and the output from the previous command will gone. Is there a way to keep all the logs? User can use some explicit command to clear it when he really want to do that.

skywind3000 commented 7 years ago

AsyncRun allows users to save the content when autocmd AsyncRunStop is triggered.

You can listen to this event and write the content to a file.