Skip to content

kessejones/git-blame-line.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

git-blame-line

This plugin is inspired by vscode's Gitlens extension.

Installation

Using vim-plug

Plug 'kessejones/git-blame-line.nvim'

Using packer.nvim

use { 'kessejones/git-blame-line.nvim' }

Setup

git-blame-line needs to be initialized with the setup function.

For example:

require'git-blame-line'.setup({
    git = {
        default_message = 'Not committed yet',
        blame_format = '%an - %ar - %s' -- see https://git-scm.com/docs/pretty-formats
    },
    view = {
        left_padding_size = 5,
        enable_cursor_hold = false
    }
})

It will always be considered the default value for options not defined in the setup function

Commands

  • GitBlameLineShow - show commit information of the line
  • GitBlameLineClear - hide text displayed by GitBlameLineShow command

Contributing

We welcome any kind of contribution.
Please, look at the Issues page to see the current backlog, new suggestions, and bugs to work.

License

Distributed under the same terms as Neovim itself.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages