Skip to content
A small plugin that uses neovims virtual text to print git blame info at the end of the current line.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoload fixed behaviour when using multiple buffers, moved functions to autol… Mar 12, 2019
img
plugin
.gitignore
LICENSE
README.md

README.md

nvim-blame-line

A small plugin that uses neovims virtual text to print git blame info at the end of the current line.

Also supports showing blame below the current window, for normal vim users.

nvim-blame-line prints author, date and summary of the commit belonging to the line underneath the cursor. Just like a real IDE!

Installation:

Use a plugin manager like vim-plug

Plug 'tveskag/nvim-blame-line'

Usage:

example gif

Functions

the plugin is exposed through the functions:

EnableBlameLine, DisableBlameLine, ToggleBlameLine

example:

nmap <silent> <leader>b :ToggleBlameLine<CR>

Options

To show blame info below the current window instead, put this in your vimrc:

let g:blameLineUseVirtualText = 0
You can’t perform that action at this time.