vim-gitlab is a vim client for GitLab
GitLab を vim から参照・変更するプラグインです.
- 現状 issues のみに対応
- GitLab は 6-1-stable 以下でも動作しますが Web ブラウザで表示した時の
issue #xの数字と, gitlab.vim で表示される数値が一致しません. (API が対応していないため)
When you work with API you may notice two similar fields in api entites: id and iid. The main difference between them is scope. Example:
Issue id: 46 iid: 5
- id - is uniq across all Issues table. It used for any api calls.
- iid - is uniq only in scope of single project. When you browse issues or merge requests with Web UI - you see iid.
So if you want to get issue with api you use
http://host/api/v3/.../issues/:id.jsonBut when you want to create a link to web page - usehttp:://host/project/issues/:iid.json
- thinca さんの vim-github を元にコピー&修正で作成しています.
NeoBundleLazy 'syngan/vim-gitlab', {
\ 'autoload' : {
\ 'commands' : 'Gitlab'}}- required
- GitLab 6-2-stable
+pythonorcurlorwget(vital.vimのWeb.HTTPに依存)
以下のように変数 g:gitlab_config を定義します.
__name__は任意に設定します.urlはアクセスする GitLab の URL (必須)- e.g., https://hoge.com/apps/gitlab/
- e.g., http://localhost:1192/
user/emailはログイン ID (必須)passwordはパスワード (任意)
g:gitlab_config['__name__'] = {
\ 'url' : 'http://localhost/',
\ 'user' : '',
\ 'email' : 'admin@local.host',
\ 'password' : 'optional',
\}下記のようにして, g:gitlab_config で定義した __name__ にアクセスします.
root/sandbox はリポジトリ名.
:Gitlab __name__ issues root/sandbox


