junegunn / vim-plug

:hibiscus: Minimalist Vim Plugin Manager
https://junegunn.github.io/vim-plug/
MIT License
33.7k stars 1.9k forks source link

Allow pressing 'q' to abort the running tasks, then 'R' to retry #1289

Closed junegunn closed 3 weeks ago

junegunn commented 3 weeks ago

If you press 'q' while PlugInstall or PlugUpdate is in progress, the current version of vim-plug immediately closes its window and aborts all the running processes.

This commit enhances the 'q' map so that it doesn't close the window, but instead displays aborted tasks so that the user can press 'R' to retry aborted/skipped tasks.

Fix #1285

/cc @yous

image
yous commented 3 weeks ago

Thanks for the swift update. This will mitigate various scenarios with connection problems, including mine.

junegunn commented 3 weeks ago

Thanks for the review. Let me know if it doesn't work as expected.