feat: git blame in status bar, shortcut and git blame doc
This commit is contained in:
parent
e4cc2792be
commit
fdc1eca0aa
@ -218,10 +218,11 @@ Shortcut | Function
|
|||||||
:-----------:|:--------:
|
:-----------:|:--------:
|
||||||
SPC h I | Show Debug Info
|
SPC h I | Show Debug Info
|
||||||
|
|
||||||
**Git**
|
**Git Blame**
|
||||||
Shortcut | Function
|
Shortcut | Function
|
||||||
:-------:|:--------:
|
:-------:|:--------:
|
||||||
<leader> b | Togggle git blame info at the end of current line
|
<leader> b | Togggle git blame info at the end of current line
|
||||||
|
<leader> s | See Git Blame information in the status bar for the currently selected line.
|
||||||
<SPC> gb | Open git blame window
|
<SPC> gb | Open git blame window
|
||||||
|
|
||||||
#### markdown
|
#### markdown
|
||||||
|
@ -319,3 +319,5 @@ vmap <localleader>js :!python -m json.tool<cr>
|
|||||||
|
|
||||||
" nvim-blame-line
|
" nvim-blame-line
|
||||||
nnoremap <silent> <leader>b :ToggleBlameLine<CR>
|
nnoremap <silent> <leader>b :ToggleBlameLine<CR>
|
||||||
|
nnoremap <silent> <leader>s ::<C-u>call gitblame#echo()<CR>
|
||||||
|
|
||||||
|
@ -101,3 +101,6 @@ name = "lang#python"
|
|||||||
[[custom_plugins]]
|
[[custom_plugins]]
|
||||||
repo = "https://github.com/tveskag/nvim-blame-line.git"
|
repo = "https://github.com/tveskag/nvim-blame-line.git"
|
||||||
merged = false
|
merged = false
|
||||||
|
|
||||||
|
[[custom_plugins]]
|
||||||
|
repo = "https://github.com/zivyangll/git-blame.vim"
|
||||||
|
Loading…
Reference in New Issue
Block a user