Skip to content

tenfyzhong/nvim-gito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nvim-gito

Open repo in browser

This plugin help you to open the current file/line in browser belong to the repo.

install

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
}

usage

command

command comment
GitoOpen open current file with line
GitoOpenFile open current file
GitoCopy copy current file with line
GitoCopyFile copy current file

default keymap

mode key comment
n v <leader>go GitoOpen
n v <leader>gy GitoCopy

About

Open repo in browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages