A NeoVim plugin to fast update plugins installed by lazy.nvim
With lazy.nvim:
{
"cxwx/lazyUrlUpdate.nvim",
ft = "lua",
opts = {},
keys = {
{"<leader>up", "<cmd>LazyUrlUpdate<CR>", desc = "Update plugin under cursor"},
{"<leader>bp", "<cmd>LazyUrlBuild<CR>", desc = "Build plugin under cursor"},
}
},
-
update plugin
LazyUrlUpdate
-
rebuild plugin
LazyUrlBuild
-
short URL
LazyUrlShort
-
Open short URL
LazyUrlOpen
(only support macOS)-
github
github:/issues/1 -
arxiv
arxiv:1803.05072 -
doi
doi:10.1088/1742-6596/2742/1/012014 -
orcid
orcid:0000-0001-6332-2005
-
The plugin provides the user command :LazyUrlUpdate
.
Invoke it when the cursor is on the name of a repo.
-
xdg-open
for linux - string match with
and
"`