rhubarb.vim: GitHub extension for fugitive.vim
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
If fugitive.vim is the Git, rhubarb.vim is the Hub. Here's the full list of features:
:Gbrowsefrom fugitive.vim to open GitHub URLs.
hubif installed rather than
In commit messages, GitHub issues, issue URLs, and collaborators can be omni-completed (, see
:help compl-omni). This makes inserting those
Closes #123remarks slightly easier than copying and pasting from the browser.
If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:
cd ~/.vim/bundle git clone https://github.com/tpope/vim-rhubarb.git vim -u NONE -c "helptags vim-rhubarb/doc" -c q
You'll also need fugitive.vim.
Curl (included with macOS) is required for features that use the GitHub API (i.e.,
:Gbrowsedoesn't need it). Generate a personal access token with repo permissions and add it to your
echo 'machine api.github.com login password ' >> ~/.netrc
If you are using GitHub Enterprise, repeat this step for each domain (omit the
api.portion). You'll also need to tell Rhubarb the root URLs:
let g:github_enterprise_urls = ['https://example.com']
How do I turn off that preview window that shows the issue body?
Copyright (c) Tim Pope. Distributed under the same terms as Vim itself. See