Open repo in browser
This plugin help you to open the current file/line in browser belong to the repo.
Use a plugin manager like lazy.nvim
.
{
'tenfyzhong/nvim-gito',
config = function()
-- default configuration
require('gito').setup({
key = {
open = '<leader>go',
copy = '<leader>gy',
}
})
end
}
command | comment |
---|---|
GitoOpen |
open current file with line |
GitoOpenFile |
open current file |
GitoCopy |
copy current file with line |
GitoCopyFile |
copy current file |
mode | key | comment |
---|---|---|
n v |
<leader>go |
GitoOpen |
n v |
<leader>gy |
GitoCopy |