{"id":23076409,"url":"https://github.com/aileot/vim-gitrebase-commander","last_synced_at":"2025-07-02T07:38:34.035Z","repository":{"id":218906548,"uuid":"283247863","full_name":"aileot/vim-gitrebase-commander","owner":"aileot","description":"Keymappings to replace gitrebase-commands (pick, reword, edit, ...) ","archived":false,"fork":false,"pushed_at":"2020-07-28T15:44:20.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T01:38:38.579Z","etag":null,"topics":["gitrebase","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aileot.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-07-28T15:09:04.000Z","updated_at":"2020-07-28T15:49:56.000Z","dependencies_parsed_at":"2024-01-24T13:20:22.025Z","dependency_job_id":"eea88dfb-6cff-40a1-ac42-0471ca717e39","html_url":"https://github.com/aileot/vim-gitrebase-commander","commit_stats":null,"previous_names":["aileot/vim-gitrebase-commander"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aileot%2Fvim-gitrebase-commander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aileot%2Fvim-gitrebase-commander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aileot%2Fvim-gitrebase-commander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aileot%2Fvim-gitrebase-commander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aileot","download_url":"https://codeload.github.com/aileot/vim-gitrebase-commander/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246998229,"owners_count":20866696,"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","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":["gitrebase","vim"],"created_at":"2024-12-16T09:38:47.978Z","updated_at":"2025-04-03T12:16:08.358Z","avatar_url":"https://github.com/aileot.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitrebase Commander\n\nReplace gitrebase-commands (`pick`, `reword`, `edit`, ...) by simple keymappings\n\n## Installation\n\nUse your favorite plugin manager\n\n### For dein\n\n```vim\ncall dein#add('kaile256/vim-gitrebase-commander')\n```\n\nor in toml,\n\n```toml\n[[plugins]]\nrepo = 'kaile256/vim-gitrebase-commander'\n```\n\n## Usage\n\n### Default mappings\n\n```vim\nlet g:gitrebase_commander#prefix = 'z'\nlet g:gitrebase_commander#suffixes = {\n      \\ 'p': 'pick',\n      \\ 'r': 'reword',\n      \\ 'e': 'edit',\n      \\ 's': 'squash',\n      \\ 'f': 'fixup',\n      \\ 'x': 'exec',\n      \\ 'b': 'break',\n      \\ 'd': 'drop',\n      \\ 'l': 'label',\n      \\ 't': 'reset',\n      \\ 'm': 'merge',\n      \\ }\n```\n\n### Excerpt from a gitrebase file\n\n```gitrebase\n# p, pick \u003ccommit\u003e = use commit\n# r, reword \u003ccommit\u003e = use commit, but edit the commit message\n# e, edit \u003ccommit\u003e = use commit, but stop for amending\n# s, squash \u003ccommit\u003e = use commit, but meld into previous commit\n# f, fixup \u003ccommit\u003e = like \"squash\", but discard this commit's log message\n# x, exec \u003ccommand\u003e = run command (the rest of the line) using shell\n# b, break = stop here (continue rebase later with 'git rebase --continue')\n# d, drop \u003ccommit\u003e = remove commit\n# l, label \u003clabel\u003e = label current HEAD with a name\n# t, reset \u003clabel\u003e = reset HEAD to a label\n# m, merge [-C \u003ccommit\u003e | -c \u003ccommit\u003e] \u003clabel\u003e [# \u003coneline\u003e]\n# .       create a merge commit using the original merge commit's\n# .       message (or the oneline, if no original merge commit was\n# .       specified). Use -c \u003ccommit\u003e to reword the commit message.\n```\n\n### Excuse about default prefix `z`\n\nDo you use these default mappings while editing gitrebase?\n\n- `zr` to reduce fold\n- `zf` to create fold\n- `zx` to update fold\n- `zd` to delete fold\n- `zm` to fold more\n\n- `zs`, `ze` or `zl` to scroll horizontally\n- `zt` to redraw, line `[count]` at top of window\n- `zb` to redraw, line `[count]` at bottom of window\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faileot%2Fvim-gitrebase-commander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faileot%2Fvim-gitrebase-commander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faileot%2Fvim-gitrebase-commander/lists"}