A Neovim plugin to fast update plugins installed by lazy.nvim
With lazy.nvim:
{
-- "cxwx/lazyUrlUpdate.nvim", -- github plugin will be removed soon.
url = "https://codeberg.org/chenxu/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 with Chrome
LazyUrlOpen,LazyUrlOpenChrome(only macOS)
- [X] github github:cxwx/lazyUrlUpdate.nvim/issues/1
- [X] gitlab gitlab:...
- [X] arxiv arxiv:1803.05072
- [X] doi doi:10.1088/1742-6596/2742/1/012014
- [X] orcid orcid:0000-0001-6332-2005
- [X] codeberg codeberg:chenxu/lazyUrlUpdate.nvim
The plugin provides the user command :LazyUrlUpdate.
Invoke it when the cursor is on the name of a repo.
-
xdg-openfor Linux - string match with ` and
"