shumphrey/fugitive-gitlab.vim
shumphrey/fugitive-gitlab.vim has 277 GitHub stars and 25 forks. Star changes are not measured yet. Last checked 2026-11-13 22:12 UTC. Last push 2026-08-20.
측정된 스타 증가
- in 24h
- 기록 수집 중
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
A vim extension to fugitive.vim for GitLab support
개발 도구README.md
Originalfugitive-gitlab.vim
fugitive.vim is undoubtedly the best Git wrapper of all time.
This plugin allows you to use it with https://gitlab.com or your own private GitLab instance.
Enables
:GBrowsefrom fugitive.vim to open GitLab URLsIn commit messages, GitLab issues and users can be omni-completed (
<C-X><C-O>, see:help compl-omni).
Installation
Install it as you would install fugitive.vim (you will also need fugitive.vim installed)
To use private GitLab instances, add the following to your .vimrc
let g:fugitive_gitlab_domains = ['https://my.gitlab.com']
If the private GitLab instance uses different URLs, for example, one for SSH and another for HTTPS, instead add the following to your .vimrc
let g:fugitive_gitlab_domains = {'my-ssh.gitlab.com': 'https://my.gitlab.com'}
Fugitive command :GBrowse will now work with GitLab URLs.
Curl is required for features
that use the GitLab API (i.e., :GBrowse doesn't need it).
Generate a personal access token
with api permissions and add it to your vimrc
let g:gitlab_api_keys = {'gitlab.com': 'myaccesstoken'}
To use omnicompletion with a private GitLab repository
let g:gitlab_api_keys = {'gitlab.com': 'mytoken1', 'my.gitlab.private': 'mytoken2' }
Omnicompletion functionality is subject to change.
Requirements
fugitive-gitlab.vim requires a modern fugitive.vim. API features require a GitLab instance with v4 of the API.
FAQ
How do I turn off that preview window that shows the issue body?
set completeopt-=preview
:GBrowse produces 404s on my old self hosted GitLab
let g:fugitive_gitlab_oldstyle_urls = 1
Why doesn't this plugin have a pun name?
I couldn't think of one.