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.84k stars 109 forks source link

当多个任务运行时,g:asyncrun_exit是不是不够用了。 #258

Closed tracyone closed 1 year ago

tracyone commented 1 year ago

有几个命令都需要运行较长的时间,当这些命令结束时都需要执行一些动作。举个例子

我们运行cscope命令结束之后需要又个cs add的操作,这个当然是在运行命令结束之后。

看起来虽然g:asyncrun_exit可以达到这个目的,但是如果有多个命令一起的话,g:asyncrun_exit会被其它命令覆盖。

tracyone commented 1 year ago

不好意思有--post选项