Hi,
When I'm viewing a blame, often I want to look at the commit on GitHub. I'd like something like GBrowse, but it navigates to the commit that corresponds to the sha that's under my cursor. I didn't see any shortcuts for doing this in the docs, so I made one:
augroup fugitive_ext
autocmd!
" Browse to the commit under my cursor
autocmd FileType fugitiveblame nnoremap <buffer> <localleader>gb :execute ":Gbrowse " . expand("<cword>")<cr>
augroup END
I guess this is a "feature request" or a "did I not read the docs completely?" request.
Thanks!
Hi,
When I'm viewing a blame, often I want to look at the commit on GitHub. I'd like something like
GBrowse, but it navigates to the commit that corresponds to the sha that's under my cursor. I didn't see any shortcuts for doing this in the docs, so I made one:I guess this is a "feature request" or a "did I not read the docs completely?" request.
Thanks!