███╗ ███╗ █████╗ ████╗ █╗ ███╗ █╗ █╗█████╗ █╗ █╗ ███╗ █╗ █╗
█╬══█╗ ╚█╔╝ ╚═█╔═╝ █╔══█╗█║ █╬══█╗██╗██║█╔═══╝ █║ █║ ╚█╔╝ ██╗██║
█║ ╚╝ █║ █║ █║ █║█║ █║ █║█╔█╬█║█║ █║ █║ █║ █╔█╬█║
█║ █║ █║ █████╗████╬╝█║ █║ █║█║╚╝█║████╗ █║ █║ █║ █║╚╝█║
█║ ██╗ █║ █║ ╚════╝█╔══█╗█║ █████║█║ █║█╔══╝ ██╗ █║ █║ █║ █║ █║
█║ ╚█║ █║ █║ █║ █║█║ █╔══█║█║ █║█║ ██║ ╚█╗█╬╝ █║ █║ █║
╚███╬╝ ███╗ █║ ████╬╝█████╗█║ █║█║ █║█████╗ ╚═╝ ╚█╬╝ ███╗ █║ █║
╚══╝ ╚══╝ ╚╝ ╚═══╝ ╚════╝╚╝ ╚╝╚╝ ╚╝╚════╝ ╚╝ ╚══╝ ╚╝ ╚╝
See Git Blame information in the status bar for the currently selected line.
Simply Install
If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:
cd ~/.vim/bundle
git clone [email protected]:zivyangll/git-blame.vim.git
Using vim-plug:
Plug 'zivyangll/git-blame.vim'
Using Vundle
Plugin 'zivyangll/git-blame.vim'
** You must push the map in your vimrc to avoid conflicts with other plugins you may have installed.: **
nnoremap <Leader>s :<C-u>call gitblame#echo()<CR>
just use <leader>s
tar zcvf git-blame.tar.gz git-blame.vim
upload: https://www.vim.org/scripts/script.php?script_id=5704
Like git-blame.vim? Follow the repository on GitHub and vote for it on vim.org. And if you're feeling especially charitable, follow GitHub.
See MIT License.