diff --git a/README.md b/README.md index c950552..a10dee3 100644 --- a/README.md +++ b/README.md @@ -218,10 +218,11 @@ Shortcut | Function :-----------:|:--------: SPC h I | Show Debug Info -**Git** +**Git Blame** Shortcut | Function :-------:|:--------: b | Togggle git blame info at the end of current line + s | See Git Blame information in the status bar for the currently selected line. gb | Open git blame window #### markdown diff --git a/SpaceVim.d/autoload/settings/yadr-keymap.vim b/SpaceVim.d/autoload/settings/yadr-keymap.vim index 66f09db..6f349eb 100644 --- a/SpaceVim.d/autoload/settings/yadr-keymap.vim +++ b/SpaceVim.d/autoload/settings/yadr-keymap.vim @@ -319,3 +319,5 @@ vmap js :!python -m json.tool " nvim-blame-line nnoremap b :ToggleBlameLine +nnoremap s ::call gitblame#echo() + diff --git a/SpaceVim.d/init.toml b/SpaceVim.d/init.toml index d79dfe7..8e16068 100644 --- a/SpaceVim.d/init.toml +++ b/SpaceVim.d/init.toml @@ -101,3 +101,6 @@ name = "lang#python" [[custom_plugins]] repo = "https://github.com/tveskag/nvim-blame-line.git" merged = false + +[[custom_plugins]] +repo = "https://github.com/zivyangll/git-blame.vim"