Need help with vim-rhubarb?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

651 Stars 34 Forks MIT License 94 Commits 5 Opened issues


rhubarb.vim: GitHub extension for fugitive.vim

Services available


Need anything else?

Contributors list


If fugitive.vim is the Git, rhubarb.vim is the Hub. Here's the full list of features:

  • Enables

    from fugitive.vim to open GitHub URLs.
  • In commit messages, GitHub issues, issue URLs, and collaborators can be omni-completed (

    , see 
    :help compl-omni
    ). This makes inserting those
    Closes #123
    remarks 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
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.,

doesn't need it). Generate a personal access token with repo permissions and add it to your
echo 'machine login  password ' >> ~/.netrc

If you are using GitHub Enterprise, repeat this step for each domain (omit the

portion). You'll also need to tell Rhubarb the root URLs:
let g:github_enterprise_urls = ['']


How do I turn off that preview window that shows the issue body?

set completeopt-=preview

What happened to the support for


Support was dropped partially because GitHub CLI appears to be unseating it as the preferred GitHub command line solution, and partially because

isn't quite a perfect drop-in replacement for
, making life more difficult for Fugitive. My recommended solution is to call it via a Git alias:
git config --global alias.hub '!hub'

This will let you call

hub pull-request
:Git hub pull-request
, for example.


Like rhubarb.vim? Follow the repository on GitHub. And if you're feeling especially charitable, follow tpope on Twitter and GitHub.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.