jesseduffield / jesseduffield/lazygit

Is there an equivalant of Fugitive's `:GBrowse`?

Open
#2,923 2 comments 1 reaction 0 assignees View on GitHub
discussion
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

One of the most useful things in tpope's Fugitive is `:Gbrowse`. I work on a team and am often sending over the exact code snippet I'm talking about. I'll visually select some code. Run `:GBrowse`. Then copy & paste the URL that opens to a coworker. From the README.

> :GBrowse to open the current file on the web front-end of your favorite hosting provider, with optional line range (try it in visual mode). Plugins are available for popular providers such as [GitHub](https://github.com/tpope/vim-rhubarb), [GitLab](https://github.com/shumphrey/fugitive-gitlab.vim), [Bitbucket](https://github.com/tommcdo/vim-fubitive), [Gitee](https://github.com/linuxsuren/fugitive-gitee.vim), [Pagure](https://github.com/FrostyX/vim-fugitive-pagure), [Phabricator](https://github.com/jparise/vim-phabricator), [Azure DevOps](https://github.com/cedarbaum/fugitive-azure-devops.vim), and [sourcehut](https://git.sr.ht/~willdurand/srht.vim).

Is there any way to accomplish this in LazyGit?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.