Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 722 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 722 Bytes

Open Github Repo

A NeoVim plugin to quickly open the GitHub page for a plugin.

Installation

With lazy.nvim:

return {
    "fowlie/open-github-repo",
    ft = "lua", -- might work elsewhere too, but not tested
    config = function()
        require("open-github-repo")
    end,
},

Commands

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>')