asyncrun.vim icon indicating copy to clipboard operation
asyncrun.vim copied to clipboard

[FeatureRequest] AsyncRestart

Open 0x8f701 opened this issue 5 years ago • 2 comments

Hello, is it possible to have the command AsyncRestart, I think it'll be cool to have it for web server development.

0x8f701 avatar Feb 05 '20 14:02 0x8f701

A combination of AsyncStop and AsyncRun can achieve this.

And for your case, maybe just a :

:!apache2ctl -k restart &

is enough, you can bind it to F9

:noremap <F9> :!apache2ctl -k restart&<cr>

skywind3000 avatar Feb 05 '20 14:02 skywind3000

It's possible to combine AsyncStop and AsyncRun but the key point of AsyncRestart is being able to recall the last command.

0x8f701 avatar Feb 06 '20 15:02 0x8f701