Via Plugin Manager
Plugin 'borissov/fugitive-bitbucketserver'
Plug 'borissov/fugitive-bitbucketserver'
cd ~/.vim/bundle
git clone git://github.com/borissov/fugitive-bitbucketserver
In your vimrc file add options to set your bitbucket server urls.
let g:fugitive_bitbucketservers_domains = ['http://yoururl.com']
If your server URL includes a port as well as the hostname e.g. http://yoururl.com:7990 then just the hostname should be configured, don't include the ":7990".
tommcdo/vim-fubitive