{"id":16266592,"url":"https://github.com/chambln/kakoune-readline","last_synced_at":"2026-01-19T09:34:52.197Z","repository":{"id":144115386,"uuid":"209548544","full_name":"chambln/kakoune-readline","owner":"chambln","description":"Readline-style mappings for Kakoune.","archived":false,"fork":false,"pushed_at":"2020-07-19T02:55:16.000Z","size":33,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T14:53:00.262Z","etag":null,"topics":["kakoune","plugin","readline"],"latest_commit_sha":null,"homepage":"","language":null,"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/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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-19T12:31:01.000Z","updated_at":"2024-08-26T14:41:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6a31269-2958-4bbe-9c7c-446d084a6b59","html_url":"https://github.com/chambln/kakoune-readline","commit_stats":{"total_commits":46,"total_committers":2,"mean_commits":23.0,"dds":"0.021739130434782594","last_synced_commit":"8029c0eee75d41401184c06620bf0f45240d9a14"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chambln/kakoune-readline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chambln%2Fkakoune-readline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chambln%2Fkakoune-readline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chambln%2Fkakoune-readline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chambln%2Fkakoune-readline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chambln","download_url":"https://codeload.github.com/chambln/kakoune-readline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chambln%2Fkakoune-readline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["kakoune","plugin","readline"],"created_at":"2024-10-10T17:42:32.095Z","updated_at":"2026-01-19T09:34:52.178Z","avatar_url":"https://github.com/chambln.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Readline-style mappings for Kakoune\n\nThis plugin implements many line-editing shortcuts in\n[Kakoune](https://kakoune.org), emulating\n[Readline](http://www.gnu.org/software/readline/) as\nclosely as possible. See the readline(1) man page for explanations of\nwhat they do.\n\n## Installation\n\n### Using `plug.kak`\n\nSuggested configuration:\n\n``` kak\n# ~/.config/kak/kakrc\nplug chambln/kakoune-readline config %{\n    map global insert \u003ctab\u003e \u003cc-n\u003e\n    map global insert \u003cs-tab\u003e \u003cc-p\u003e\n    map global insert \u003cc-p\u003e \u003cup\u003e\n    map global insert \u003cc-n\u003e \u003cdown\u003e\n    hook global WinCreate .* readline-enable\n}\n```\n\nUse `\u003ca-tab\u003e` to insert a tab character; or omit the config clause if\nyou’d rather not use tab for completion.\n\n### Manual\n\nPut a copy of or link to `readline.kak` anywhere within your\n`~/.config/kak/autoload/` directory.\n\n### Usage\n\nManually enable Readline mappings in the current window:\n\n    :readline-enable\u003cret\u003e\n\nEnable Readline mappings for the `sh` filetype:\n\n``` kak\n# ~/.config/kak/kakrc\nhook global WinSetOption filetype=sh %{\n    readline-enable\n    hook window WinSetOption filetype=.* readline-disable\n}\n```\n\nAlways use Readline mappings:\n\n``` kak\n# ~/.config/kak/kakrc\nhook global WinCreate .* readline-enable\n```\n\n## To-do\n\n  - Implement `reverse-search-history (C-r)` and `forward-search-history\n    (C-s)`.\n  - Maybe respect `%opt{extra_word_chars}`?\n\n## Bugs and notes\n\n  - `\u003cc-a-h\u003e` kills two words backward if the cursor is exactly one\n    character into the latter, e.g. `one two t|hree four` becomes `one\n    |hree four` where `|` represents the cursor.\n\n  - `transpose-char` and `transpose-word` traverse line breaks.\n\n  - If the cursor is in the middle of the word,\n    `delete-horizontal-space` deletes whitespace after it.\n\n  - The `\u003cc-u\u003e` (`unix-line-discard`) mapping overrides Kakoune’s\n    default:\n    \n        \u003cc-u\u003e\n            commit changes up to now as a single undo group\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchambln%2Fkakoune-readline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchambln%2Fkakoune-readline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchambln%2Fkakoune-readline/lists"}