{"id":44643188,"url":"https://github.com/uphy/karabiner-config","last_synced_at":"2026-02-14T19:08:08.426Z","repository":{"id":64302146,"uuid":"253196149","full_name":"uphy/karabiner-config","owner":"uphy","description":"Karabiner Config File Generator","archived":false,"fork":false,"pushed_at":"2023-01-27T13:14:33.000Z","size":36,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T17:52:22.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uphy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-05T09:15:37.000Z","updated_at":"2024-06-20T17:52:22.158Z","dependencies_parsed_at":"2023-02-15T09:30:48.041Z","dependency_job_id":null,"html_url":"https://github.com/uphy/karabiner-config","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/uphy/karabiner-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uphy%2Fkarabiner-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uphy%2Fkarabiner-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uphy%2Fkarabiner-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uphy%2Fkarabiner-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uphy","download_url":"https://codeload.github.com/uphy/karabiner-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uphy%2Fkarabiner-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"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":[],"created_at":"2026-02-14T19:08:07.961Z","updated_at":"2026-02-14T19:08:08.421Z","avatar_url":"https://github.com/uphy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# karabiner-config\n\nGenerate karabiner-Elements configuration file with simple syntax.\n\n![](https://github.com/uphy/karabiner-config/workflows/Release/badge.svg)\n\n[karabiner-Elements](https://github.com/tekezo/Karabiner) is a great keyboard customization tool but its configuration file is a little redundant and hard to maintain.\n\n`karabiner-config` generates the configuration file from more simple and readable configuration file.\n\n- YAML format\n- Commonize conditions between multiple manipulators (e.g., `frontmost_application_if`, `frontmost_application_unless`)\n- Shorten frequently used configurations\n  - Set variable\n  - Condition based on variable\n  - Condition based on frontmost application\n- In `manipulator` configuration switch\n- Delayed `to`\n- Tag-based manipulator management\n\n## Installation\n\n### Binary\n\nSee [release](https://github.com/uphy/karabiner-config/releases) page.\n\n### Build\n\n```sh\n$ git clone https://github.com/uphy/karabiner-config\n$ cd karabiner-config\n$ make install\n```\n\n## Getting Started\n\nCreate new rule file.\nThis example defines keybinding `Control-m` to start a new line.\n\n`sample/instruction/01_c-m.yml`\n\n```yaml\ntitle: Control+M to newline\nmaintainers:\n  - uphy\nrules:\n  - description: Control+H to newline\n    manipulators:\n      - from:\n          key: C-m\n        to:\n          - key: return_or_enter\n```\n\nThen import this rule to the existing karabiner config.\n\n**Note**: This command replaces your karabiner config's `Default profile` directly.  Please back up first.\n\n```sh\n$ karabiner-config sample/instruction/01_c-m.yml ~/.config/karabiner/karabiner.json\n```\n\nAlso you can watch changes of the yaml file and automatically update the karabiner config with `-w` option.\n\n```sh\n$ karabiner-config -w sample/instruction/01_c-m.yml ~/.config/karabiner/karabiner.json\n```\n\nIn the terminal, most of shell supports the `Control-m` by default.\nSo, disable the keybinding.\n\n`sample/instruction/01_c-m.yml`\n\n```diff\n        - from:\n            key: C-m\n          to:\n            - key: return_or_enter\n+         conditions:\n+           - app_unless:\n+               identifiers:\n+                 - ^com\\\\.apple\\\\.Terminal$\n```\n\nAfter save this rule file, your karabiner config will be automatically updated.\n\n## Rule file\n\nThe rule file structure is same as Karabiner-Elements.\n\nBut there are some improvements.\n\n### YAML format\n\n### Commonize conditions between multiple manipulators\n\n### Shorten frequently used configurations\n\n#### Keybindings\n\n#### Set variable\n\n#### Condition based on variable\n\n#### Condition based on frontmost application\n\n### In `manipulator` configuration switch\n\n### Delayed `to`\n\n### Tag-based manipulator management","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuphy%2Fkarabiner-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuphy%2Fkarabiner-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuphy%2Fkarabiner-config/lists"}