{"id":13440240,"url":"https://github.com/frobware/cmd-key-happy","last_synced_at":"2025-04-05T04:10:29.469Z","repository":{"id":709434,"uuid":"356090","full_name":"frobware/cmd-key-happy","owner":"frobware","description":"A macOS utility to swap Command (⌘) and Option (⌥) key functionality for consistent keyboard shortcuts across systems.","archived":false,"fork":false,"pushed_at":"2025-01-12T23:23:34.000Z","size":1529,"stargazers_count":135,"open_issues_count":1,"forks_count":16,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-29T03:06:18.262Z","etag":null,"topics":["emacs","keyboard-layout","macos","modifiers","readline","shortcuts-layout","terminal"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/frobware.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":"2009-10-31T08:55:33.000Z","updated_at":"2025-01-12T23:41:27.000Z","dependencies_parsed_at":"2023-01-11T15:47:40.723Z","dependency_job_id":null,"html_url":"https://github.com/frobware/cmd-key-happy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frobware%2Fcmd-key-happy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frobware%2Fcmd-key-happy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frobware%2Fcmd-key-happy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frobware%2Fcmd-key-happy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frobware","download_url":"https://codeload.github.com/frobware/cmd-key-happy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284949,"owners_count":20913704,"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":["emacs","keyboard-layout","macos","modifiers","readline","shortcuts-layout","terminal"],"created_at":"2024-07-31T03:01:20.995Z","updated_at":"2025-04-05T04:10:29.438Z","avatar_url":"https://github.com/frobware.png","language":"Swift","readme":"# macOS Command/Option Key Mapper (for Linux refugees)\n\nA utility that makes your macOS keyboard work like a Linux keyboard by swapping modifier keys:\n- The physical Option (⌥) key functions as Command (⌘)\n- The physical Command (⌘) key functions as Option/Alt (⌥)\n\n## Why Use This?\n\nOn Linux, the Alt key (next to spacebar) is used for terminal shortcuts like alt-backspace and alt-f. This utility places that same functionality on the same physical key on your Mac keyboard, making muscle memory work across both systems.\n\n## Common Use Cases\n\n- Terminal navigation (alt-f, alt-b, alt-backspace)\n- Emacs in terminal mode (`emacs -nw`)\n- Any command-line tool that uses readline\n\n## Installation\n\n[Instructions coming soon]\n\n## Configuration\n\nThe configuration file is located at: `~/Library/Application Support/com.frobware.cmd-key-happy/config`.\n\n(TODO) This file is created automatically when you run cmd-key-happy for the first time, along with the necessary directory structure.\n\nThe configuration file is line-oriented. Each line specifies the name of an application for which the modifiers option and commands will be swapped for all input. For example:\n\n```plaintext\nAlacritty\nGhostty\nkitty\n```\n\nExplanation:\n\n- Alacritty: The utility will swap command and option keys when using the Alacritty terminal.\n- Ghostty: The same behaviour applies to this application.\n- kitty: Likewise, the keys are swapped for kitty.\n\nThe application name must match the name as it appears in the system’s application list.\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrobware%2Fcmd-key-happy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrobware%2Fcmd-key-happy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrobware%2Fcmd-key-happy/lists"}