From af12af412ded013ce5b7b6501afdf4c2bb00a810 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 11 Feb 2021 16:15:54 -0500 Subject: [PATCH] Replace :Gbrowse with :GBrowse --- README.markdown | 4 ++-- autoload/rhubarb.vim | 2 +- doc/rhubarb.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.markdown b/README.markdown index 474991d..a2045ac 100644 --- a/README.markdown +++ b/README.markdown @@ -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`: diff --git a/autoload/rhubarb.vim b/autoload/rhubarb.vim index ef3a392..58be30d 100644 --- a/autoload/rhubarb.vim +++ b/autoload/rhubarb.vim @@ -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({}) diff --git a/doc/rhubarb.txt b/doc/rhubarb.txt index d14d213..0152aef 100644 --- a/doc/rhubarb.txt +++ b/doc/rhubarb.txt @@ -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*