junegunn / vim-plug

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

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

Closed junegunn closed 4 months ago

junegunn commented 4 months 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 4 months ago

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

junegunn commented 4 months ago

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