vim-fugitive
vim-fugitive copied to clipboard
Git blame output format
Would my assumption be correct that fugitive just displays whatever is output by git blame? So if I'd want to have something like names abbreviated or at least limited to x characters then git would need to support this? Looking at man git-blame I don't think it does.
Why I'm asking this is that the window opened by :Git blame is rather large. And in smaller projects initials would be more than enough. The date is long too, but it seems blame does have a configuration option for modifying that.
These following configurations might be better, I didn't find anything better
" Open GitBlame
function! OpenGitBlame()
exe "Git blame --date=short"
nmap <buffer> <silent> q :q<CR>
endfunction
nmap <leader>;a :call OpenGitBlame()<CR>