Skip to content

mrexox/github-open.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

github-open.nvim

Open the file or the line under the cursor in your browser

Install

With Plug

Plug 'mrexox/github-open.nvim'

Usage

Add keybindings to ~/.config/nvim/init.lua

local opts = { noremap=true, silent=true }
vim.keymap.set('n', '<Leader>gh', require('github-open').open_file, opts)
vim.keymap.set('n', '<Leader>gl', require('github-open').open_line, opts)

Or to ~/.config/nvim/init.vim

silent! nnoremap <leader>gh :GithubOpenFile<cr>
silent! nnoremap <leader>gl :GithubOpenLine<cr>

About

Nvim plugin to open files under cursor on Github

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published