This plugin is no longer maintained, please use vim-phabricator instead.
This is a fugitive.vim extension for Phabricator.
This plugin is based on tpope's
vim-rhubarb which is a similar plugin to
enable Github support for Gbrowse
.
Browsing specific commits of a file (besides the most recent in the master
branch) and jumping to a line in the file are not supported.
The particular instance of Phabricator that I built this for uses rebasing, so the commit hash on the server is almost always different than your local hash. This makes it impossible to browse to a specific revision.
Jumping to lines is also not supported because the URL has to contain both the line and the specific commit hash, which for reasons stated earlier is not always known.
If someone has an instance of Phabricator that is configured to use merged instead of rebasing, I'm happy to accept pull requests that add this functionality - I left in the part of the code that could handle it, but it's commented out.
If you don't have a preferred installation method, I recommend
installing vundle and adding this to your
.vimrc
:
Plugin 'peplin/vim-phabrowse.vim'
and also adding your the Phabricator domains you use to the config:
let g:phabrowse_domains = ["https://secure.phabricator.com"]
Copyright (c) Chris Peplin. Distributed under the same terms as Vim itself.
See :help license
.