public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9
function Blame()
let g:old_ft=&ft
let g:old_fname=expand('%')
vnew
exec "0r!git blame " . g:old_fname
exec "set ft=" . g:old_ft
normal! zt
endfunction
command! -nargs=0 Blame call Blame()

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.