jesseduffield / jesseduffield/lazygit
Is there an equivalant of Fugitive's `:GBrowse`?
- 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
Assessment
This issue has not been assessed yet.