APZelos / blamer.nvim

A git blame plugin for neovim inspired by VS Code's GitLens plugin
MIT License
733 stars 35 forks source link

Add BlamerShow and BlamerHide commands #26

Closed vitormil closed 4 years ago

vitormil commented 4 years ago

It will make the plugin more flexible allowing users to show/hide anytime.

I added to my init.vim:

" blamer
let g:blamer_enabled = 1
autocmd InsertEnter * :BlamerHide
autocmd InsertLeave * :BlamerShow