Skip to content

GBrowse from GBlame #1214

Description

@tenderlove

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions