tpope/vim-fugitive — pull request #279 by yangchenyun (2012-12-09 12:24:36+00:00)
Title: Add :GBrowser support for Gitlab Site

I am not familiar with vim script and vim doc, so if there is anything not fit in the style, let me know and I will fix it.

## Why?
gitlab use `/tree/` instead of `/blob/` in the url to view code in the browser.

## Solutions
added a global switches for that
it works together with the `g:fugitive_github_domains` to support gitlab sites

## Examples
With the following setup:

let g:fugitive_github_domains = ['http://git.zenhacks.org']
let g:fugitive_gitlab_engine = '1'

I could use `:GBrowser` seamlessly with gitlab.

![Screen Shot 2012-12-09 at 8.14.54 PM.png](https://f.cloud.github.com/assets/1043403/2353/0c8e73bc-41fb-11e2-82cc-4ec80725490c.png)