Created
December 5, 2025 11:17
-
-
Save busla/782aea99994f24f450e67f34ddb8d3ee to your computer and use it in GitHub Desktop.
karabiner custom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "global": { | |
| "ask_for_confirmation_before_quitting": true, | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": false, | |
| "unsafe_ui": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 50, | |
| "basic.to_delayed_action_delay_milliseconds": 500, | |
| "basic.to_if_alone_timeout_milliseconds": 1000, | |
| "basic.to_if_held_down_threshold_milliseconds": 500, | |
| "mouse_motion_to_scroll.speed": 100 | |
| }, | |
| "rules": [ | |
| { | |
| "description": "๐ฏ HYPER KEY FOUNDATION: Caps Lock โ Hyper (โโโฅโง)", | |
| "manipulators": [ | |
| { | |
| "description": "Caps Lock becomes the universal workflow modifier", | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_shift", | |
| "modifiers": [ | |
| "left_command", | |
| "left_control", | |
| "left_option" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "๐ TERMINAL CONTEXT: Hyper+Enter โ Pass to Zellij (new pane under right)", | |
| "manipulators": [ | |
| { | |
| "description": "When in Ghostty, pass Hyper+Enter to Zellij for pane management", | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.mitchellh\\.ghostty$" | |
| ] | |
| } | |
| ], | |
| "from": { | |
| "key_code": "return_or_enter", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command", | |
| "control", | |
| "option", | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "return_or_enter", | |
| "modifiers": [ | |
| "left_shift", | |
| "left_control", | |
| "left_option", | |
| "left_command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "description": "Outside Ghostty, launch new Ghostty window", | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_unless", | |
| "bundle_identifiers": [ | |
| "^com\\.mitchellh\\.ghostty$" | |
| ] | |
| } | |
| ], | |
| "from": { | |
| "key_code": "return_or_enter", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command", | |
| "control", | |
| "option", | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "shell_command": "open -na Ghostty" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "๐ SCREEN LOCK: Alt+Escape โ Ctrl+Cmd+Q", | |
| "manipulators": [ | |
| { | |
| "description": "Quick screen lock for security", | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": ["option"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "q", | |
| "modifiers": [ | |
| "left_control", | |
| "left_command" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "๐ฎ๐ธ ICELANDIC LAYOUT: Backtick/Tilde Remapping", | |
| "manipulators": [ | |
| { | |
| "description": "Right Shift + non_us_backslash โ Tilde (~)", | |
| "conditions": [ | |
| { | |
| "input_sources": [ | |
| { | |
| "input_source_id": "com.apple.keylayout.Icelandic" | |
| } | |
| ], | |
| "type": "input_source_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "non_us_backslash", | |
| "modifiers": { | |
| "mandatory": ["right_shift"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "close_bracket", | |
| "modifiers": ["left_option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "description": "non_us_backslash alone โ Backtick (`)", | |
| "conditions": [ | |
| { | |
| "input_sources": [ | |
| { | |
| "input_source_id": "com.apple.keylayout.Icelandic" | |
| } | |
| ], | |
| "type": "input_source_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "non_us_backslash", | |
| "modifiers": { | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "backslash", | |
| "modifiers": ["left_option"] | |
| }, | |
| { | |
| "key_code": "spacebar" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "๐ฎ ZELLIJ PASSTHROUGH: Hyper+<key> โ Direct to Zellij", | |
| "manipulators": [ | |
| { | |
| "description": "All Hyper combinations pass through to Zellij (no interception)", | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.mitchellh\\.ghostty$" | |
| ] | |
| } | |
| ], | |
| "from": { | |
| "key_code": "any", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command", | |
| "control", | |
| "option", | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "vk_none" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "devices": [ | |
| { | |
| "identifiers": { | |
| "is_keyboard": true, | |
| "product_id": 32776, | |
| "vendor_id": 1241 | |
| }, | |
| "simple_modifications": [ | |
| { | |
| "from": { | |
| "key_code": "grave_accent_and_tilde" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "non_us_backslash" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "left_command" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_option" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "left_option" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_command" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "non_us_backslash" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "pause" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "vk_consumer_next" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "print_screen" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "vk_consumer_previous" | |
| } | |
| ] | |
| }, | |
| { | |
| "from": { | |
| "key_code": "scroll_lock" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "vk_consumer_play" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ], | |
| "name": "Harmonized Profile", | |
| "selected": true, | |
| "virtual_hid_keyboard": { | |
| "keyboard_type_v2": "iso" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment