{"id":13479837,"url":"https://github.com/syngan/vim-gitlab","last_synced_at":"2026-01-10T19:01:51.288Z","repository":{"id":11819725,"uuid":"14371412","full_name":"syngan/vim-gitlab","owner":"syngan","description":"vim-gitlab is a vim client for GitLab","archived":false,"fork":false,"pushed_at":"2015-12-02T11:50:58.000Z","size":207,"stargazers_count":17,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T10:38:07.791Z","etag":null,"topics":["gitlab","plugin","vim"],"latest_commit_sha":null,"homepage":"","language":"VimL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syngan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-13T17:41:38.000Z","updated_at":"2022-06-06T03:43:53.000Z","dependencies_parsed_at":"2022-08-28T11:20:47.022Z","dependency_job_id":null,"html_url":"https://github.com/syngan/vim-gitlab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/syngan/vim-gitlab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syngan%2Fvim-gitlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syngan%2Fvim-gitlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syngan%2Fvim-gitlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syngan%2Fvim-gitlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syngan","download_url":"https://codeload.github.com/syngan/vim-gitlab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syngan%2Fvim-gitlab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28257483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2026-01-10T02:00:06.867Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gitlab","plugin","vim"],"created_at":"2024-07-31T16:02:23.736Z","updated_at":"2026-01-10T19:01:51.256Z","avatar_url":"https://github.com/syngan.png","language":"VimL","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"# vim-gitlab\n\n[![Build Status](https://travis-ci.org/syngan/vim-alarm.svg?branch=master)](https://travis-ci.org/syngan/vim-alarm)\n\nvim-gitlab is a vim client for GitLab\n\n* c.f. https://github.com/thinca/vim-github\n* c.f. http://d.hatena.ne.jp/thinca/20100701/1277994373\n\n\nGitLab を vim から参照・変更するプラグインです.\n- 現状 issues のみに対応\n- GitLab は 6-1-stable 以下でも動作しますが Web ブラウザで表示した時の `issue #x` の数字と, gitlab.vim で表示される数値が一致しません.\n(API が対応していないため)\n    - c.f. https://github.com/gitlabhq/gitlabhq/commit/02693b72a4240a9d94246e590775a66eb48c55ed\n    - https://github.com/gitlabhq/gitlabhq/tree/master/doc/api\n\n\u003e ## id vs iid\n\u003e\n\u003e When you work with API you may notice two similar fields in api entites: id and iid.\n\u003e The main difference between them is scope. Example:\n\u003e\n\u003e Issue\n\u003e   id: 46\n\u003e   iid: 5\n\u003e\n\u003e   * id - is uniq across all Issues table. It used for any api calls.\n\u003e   * iid - is uniq only in scope of single project. When you browse issues or merge requests with Web UI - you see iid.\n\u003e\n\u003e   So if you want to get issue with api you use `http://host/api/v3/.../issues/:id.json`\n\u003e   But when you want to create a link to web page - use  `http:://host/project/issues/:iid.json`\n\n- thinca さんの vim-github を元にコピー＆修正で作成しています.\n\n# Install\n\n```vim\nNeoBundleLazy 'syngan/vim-gitlab', {\n    \\ 'autoload' : {\n    \\ 'commands' : 'Gitlab'}}\n```\n\n- required\n    - GitLab 6-2-stable\n    - `+python` or `curl` or `wget` (`vital.vim` の `Web.HTTP` に依存)\n\n\n# Config\n\n以下のように変数 `g:gitlab_config` を定義します.\n- `__name__` は任意に設定します.\n- `url` はアクセスする GitLab の URL (必須)\n    - e.g., https://hoge.com/apps/gitlab/\n    - e.g., http://localhost:1192/\n- `user`/`email` はログイン ID (必須)\n- `password` はパスワード (任意)\n\n\n```vim\ng:gitlab_config['__name__'] = {\n\\    'url' : 'http://localhost/',\n\\    'user' : '',\n\\    'email' : 'admin@local.host',\n\\    'password' : 'optional',\n\\}\n```\n# Usage\n\n下記のようにして, `g:gitlab_config` で定義した `__name__` にアクセスします.\n`root/sandbox` はリポジトリ名.\n\n```vim\n:Gitlab __name__ issues root/sandbox\n```\n\n# Screenshot\n\n## issues list\n![Issues LIST](./img/issues_list.png)\n\n## show issue #2\n![Issues LIST](./img/issue2.png)\n\n## add comment\n![Issues LIST](./img/issue2c.png)\n\n## show issues #2\n![Issues LIST](./img/issue2c2.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyngan%2Fvim-gitlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyngan%2Fvim-gitlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyngan%2Fvim-gitlab/lists"}