{"id":13895373,"url":"https://github.com/chambln/kakoune-kit","last_synced_at":"2025-04-08T14:52:43.194Z","repository":{"id":42021839,"uuid":"225078704","full_name":"chambln/kakoune-kit","owner":"chambln","description":"A Git porcelain inside Kakoune","archived":false,"fork":false,"pushed_at":"2022-10-30T23:26:59.000Z","size":50,"stargazers_count":22,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-14T11:26:52.843Z","etag":null,"topics":["kakoune","plugin"],"latest_commit_sha":null,"homepage":"","language":"KakouneScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chambln.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":"2019-11-30T22:39:48.000Z","updated_at":"2023-10-23T04:20:17.000Z","dependencies_parsed_at":"2023-01-20T00:32:15.341Z","dependency_job_id":null,"html_url":"https://github.com/chambln/kakoune-kit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chambln%2Fkakoune-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chambln%2Fkakoune-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chambln%2Fkakoune-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chambln%2Fkakoune-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chambln","download_url":"https://codeload.github.com/chambln/kakoune-kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247866126,"owners_count":21009239,"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":["kakoune","plugin"],"created_at":"2024-08-06T18:02:10.381Z","updated_at":"2025-04-08T14:52:43.164Z","avatar_url":"https://github.com/chambln.png","language":"KakouneScript","funding_links":[],"categories":["KakouneScript"],"sub_categories":[],"readme":"# Kit – A Git porcelain inside [Kakoune](https://kakoune.org)\n\nThis plugin is far from complete, but not totally useless right now.\n\nSo far it’s just a few hooks that coerce the selection onto the file\npaths and SHA1s in `:git status -s` and `:git log` buffers. Combine this\nwith `: … %val{selections}\u003ca-!\u003e …` mappings to create a\nselection-oriented Git interface.\n\n## Configuration\n\nSuggested configuration:\n\n``` kak\nplug chambln/kakoune-kit config %{\n    map global user g ': git status -bs\u003cret\u003e' -docstring 'git status'\n    hook global WinSetOption filetype=git-status %{\n        map window normal c ': git commit --verbose '\n        map window normal l ': git log --oneline --graph -- \u003cc-x\u003ef'\n        map window normal d ': -- %val{selections}\u003ca-!\u003e\u003chome\u003e git diff '\n        map window normal D ': -- %val{selections}\u003ca-!\u003e\u003chome\u003e git diff --cached '\n        map window normal a ': -- %val{selections}\u003ca-!\u003e\u003chome\u003e git add '\n        map window normal A ': -- %val{selections}\u003ca-!\u003e\u003chome\u003e terminal git add -p '\n        map window normal r ': -- %val{selections}\u003ca-!\u003e\u003chome\u003e git reset '\n        map window normal R ': -- %val{selections}\u003ca-!\u003e\u003chome\u003e terminal git reset -p '\n        map window normal o ': -- %val{selections}\u003ca-!\u003e\u003chome\u003e git checkout '\n    }\n    hook global WinSetOption filetype=git-log %{\n        map window normal d     ': %val{selections}\u003ca-!\u003e\u003chome\u003e git diff '\n        map window normal \u003cret\u003e ': %val{selections}\u003ca-!\u003e\u003chome\u003e git show '\n        map window normal r     ': %val{selections}\u003ca-!\u003e\u003chome\u003e git reset '\n        map window normal R     ': %val{selections}\u003ca-!\u003e\u003chome\u003e terminal git reset -p '\n        map window normal o     ': %val{selections}\u003ca-!\u003e\u003chome\u003e git checkout '\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchambln%2Fkakoune-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchambln%2Fkakoune-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchambln%2Fkakoune-kit/lists"}