Replies: 2 comments
-
I think you can add a binding to |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have in my function! s:BlameToggle() abort
let found = 0
for winnr in range(1, winnr('$'))
if getbufvar(winbufnr(winnr), '&filetype') ==# 'fugitiveblame'
exe winnr . 'close'
let found = 1
endif
endfor
if !found
Git blame
endif
endfunction
nmap <silent> <space>b :call <SID>BlameToggle()<CR> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to toggle "Git blame"? Like press F1 to start "Git blame", press again to close it.
Or is there a way to figure out if Git blame is running?
Beta Was this translation helpful? Give feedback.
All reactions