mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-06 12:14:26 +08:00
Replace :Gbrowse with :GBrowse
This commit is contained in:
@@ -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`:
|
||||
|
||||
|
||||
@@ -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({})
|
||||
|
||||
@@ -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*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user