Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fowlie/open-github-repo

A NeoVim plugin to quickly open the GitHub page for a plugin.
https://github.com/fowlie/open-github-repo

neovim-plugin

Last synced: 5 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Open Github Repo



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

## Installation

With [lazy.nvim](https://github.com/folke/lazy.nvim):

```lua
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:

```lua
vim.keymap.set('n', 'gh', 'OpenGitHubRepo')
```