mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Use `:Gedit https://github.com/...` (or any other URL supported by an installed :GBrowse provider) to edit the corresponding `fugitive://` URL. The dictionary g:fugitive_url_origins maps between homepage URLs and local repositories: let g:fugitive_url_origins = { 'https://github.com/me/my-repo': '~/Projects/my-repo'} It also checks the remotes of the repository that the currently edited buffer belongs to. This is an experimental prototype. That means no documentation, and no guarantees about behavior. In particular, g:fugitive_url_origins and the current contortions to leverage the existing :GBrowse API will likely be dropped once a better API has been developed. References: https://github.com/tpope/vim-fugitive/issues/2223