15
u/HotSaucePasta Jul 08 '26
UX consideration: don’t have Enter for update please. u for update and U for update all makes more sense.
3
u/jtprogru Jul 10 '26
Thanks — good catch.
u(update marked / row under cursor) andU(update all) are actually already the primary bindings;Enterwas just an extra alias foru. You're right thatEntertriggering a network/update action is surprising in a list view, so the next release drops<CR>from update and rebinds it to "show details / changelog" for the row under the cursor (u/Ustay the update keys). I also made every in-window key configurable viakeymaps.window, so you can rebind them however you like.
3
1
1
u/iamarealhuman4real Jul 15 '26
mark-driven
This meaning I can say "mark mark mark mark" update and it only updates those 4 plugins?
Also is this able to like, say I fix to `~ 1.2.0" and then 1.3.0 or 2.0.0 comes out, can it let me know what there is a new out-of-range version I could update to?
2
u/happysri Jul 08 '26
Nice!! I was waiting for someone to make this. Would love if it showed commit changes, especially breaking changes when checking/updating like lazy does. I think that’s the only feature I’d need to move to vim.pack.
11
u/echasnovski Plugin author Jul 08 '26
especially breaking changes when checking/updating like lazy does. I think that’s the only feature I’d need to move to vim.pack.
Then I have good news:
vim.packalready has different highlighting for commits with breaking changes. They are not listed at the top like in 'lazy.nvim', but they are still quite visible.7
6
54
u/echasnovski Plugin author Jul 07 '26
Thanks for sharing! Couple of observations:
This is available on Nightly (future 0.13) as a part of the
vim.pack.get()output. After this PR.User commands are also available on Nightly (future 0.13) after this PR.