Replace :Gbrowse with :GBrowse

This commit is contained in:
Tim Pope
2021-02-11 16:15:54 -05:00
parent d865e427d0
commit af12af412d
3 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
If [fugitive.vim][] is the Git, rhubarb.vim is the Hub. Here's the full list
of features:
* Enables `:Gbrowse` from fugitive.vim to open GitHub URLs.
* Enables `:GBrowse` from fugitive.vim to open GitHub URLs.
* Sets up `:Git` to use [`hub`](https://github.com/github/hub) if installed
rather than `git`.
@@ -28,7 +28,7 @@ then simply copy and paste:
You'll also need [fugitive.vim][].
[Curl](http://curl.haxx.se/) (included with macOS) is required for features
that use the GitHub API (i.e., `:Gbrowse` doesn't need it).
that use the GitHub API (i.e., `:GBrowse` doesn't need it).
[Generate a personal access token](https://github.com/settings/tokens/new)
with repo permissions and add it to your `.netrc`:

View File

@@ -240,7 +240,7 @@ function! rhubarb#omnifunc(findstart, base) abort
return rhubarb#Complete(a:findstart, a:base)
endfunction
" Section: Fugitive :Gbrowse support
" Section: Fugitive :GBrowse support
function! rhubarb#FugitiveUrl(...) abort
if a:0 == 1 || type(a:1) == type({})

View File

@@ -6,7 +6,7 @@ License: Same terms as Vim itself (see |license|)
Use |i_CTRL-X_CTRL-O| to omni-complete GitHub issues or project collaborator
usernames when editing a commit message.
Use Fugitive's |:Gbrowse| to browse to the GitHub URL for the current buffer.
Use Fugitive's |:GBrowse| to browse to the GitHub URL for the current buffer.
ABOUT *rhubarb-about*