Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/fowlie/open-github-repo
- Owner: fowlie
- License: mit
- Created: 2024-02-01T13:54:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-06T08:50:26.000Z (10 months ago)
- Last Synced: 2024-02-06T09:45:53.586Z (10 months ago)
- Topics: neovim-plugin
- Language: Lua
- Homepage:
- Size: 1.95 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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')
```