A NeoVim plugin to quickly open the GitHub page for a plugin.
With lazy.nvim:
return {
"fowlie/open-github-repo",
ft = "lua", -- might work elsewhere too, but not tested
config = function()
require("open-github-repo")
end,
},
The plugin provides the user command :OpenGitHubRepo
.
Invoke it when the cursor is on the name of a repo.
To bind it to a key you can do:
vim.keymap.set('n', '<leader>gh', '<Cmd>OpenGitHubRepo<CR>')