Skip to content

tommcdo/vim-fubitive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fubitive.vim

Extend fugitive.vim to support Bitbucket URLs in :Gbrowse.

Configuration

The default domain when searching remotes is bitbucket.org. To make this plugin work with a Bitbucket instance under a different domain, simply add the following to your .vimrc (taking care to escape special characters):

let g:fubitive_domain_pattern = 'code\.example\.com'

For Bitbucket instances that are not installed in the root of the domain, for example under code.example.com/bitbucket/, add the following line to your .vimrc.

let g:fubitive_domain_pattern = 'code\.example\.com'
let g:fubitive_domain_context_path = 'bitbucket'

By default, fubitive will assume https:// when building URLs. To change this, set the g:fubitive_default_protocol variable:

let g:fubitive_default_protocol = 'http://'

About

Add Bitbucket URL support to fugitive.vim's :Gbrowse command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published