Created
August 7, 2025 12:44
-
-
Save cristianadam/b5d5d3876cd0bf9874ce351c1b703bf6 to your computer and use it in GitHub Desktop.
Karabiner Elements Windows like setup
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
| { | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "rules": [ | |
| { | |
| "description": "Left_Option+Left/Right => Command+Left/Right (Edge, Qt Creator)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.edgemac$", | |
| "^org\\.qt-project\\.qtcreator$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_arrow", | |
| "modifiers": { | |
| "mandatory": ["left_option"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": ["command"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.edgemac$", | |
| "^org\\.qt-project\\.qtcreator$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_arrow", | |
| "modifiers": { | |
| "mandatory": ["left_option"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": ["command"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Right_Command+Left/Right => Option+Left/Right (Except UTM)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.utmapp\\.UTM$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_arrow", | |
| "modifiers": { | |
| "mandatory": ["right_command"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": ["option"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.utmapp\\.UTM$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_arrow", | |
| "modifiers": { | |
| "mandatory": ["right_command"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": ["option"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Right_Command+Shift+Left/Right => Option+Shift+Left/Right (Except UTM)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.utmapp\\.UTM$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "left_arrow", | |
| "modifiers": { | |
| "mandatory": ["right_command", "shift"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": ["option", "shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.utmapp\\.UTM$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "right_arrow", | |
| "modifiers": { | |
| "mandatory": ["right_command", "shift"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": ["option", "shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Left_Option+Up arrow => PageUp", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "up_arrow", | |
| "modifiers": { | |
| "mandatory": ["left_option"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [{ "key_code": "page_up" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Left_Option+Down arrow => PageDown", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "down_arrow", | |
| "modifiers": { | |
| "mandatory": ["left_option"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [{ "key_code": "page_down" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Left_Option+Shift+Up arrow => Shift+PageUp", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "up_arrow", | |
| "modifiers": { | |
| "mandatory": ["left_option", "shift"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "page_up", | |
| "modifiers": ["shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Left_Option+Shift+Down arrow => Shift+PageDown", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "down_arrow", | |
| "modifiers": { | |
| "mandatory": ["left_option", "shift"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "page_down", | |
| "modifiers": ["shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Change Command+Tab => Control+Tab", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "tab", | |
| "modifiers": { | |
| "mandatory": ["command"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["control"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Change Control+Tab => Command+Tab", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "tab", | |
| "modifiers": { | |
| "mandatory": ["control"], | |
| "optional": ["any"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": ["command"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Command+Backspace => Delete", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": { | |
| "mandatory": ["command"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": ["fn"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Command+Shift+Backspace => Shift+Delete", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": { | |
| "mandatory": ["command", "shift"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": ["fn", "shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Command+Esc => Open Launchpad (Except UTM)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.utmapp\\.UTM$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": ["command"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "launchpad", | |
| "modifiers": [] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Command+Shift+Esc => Open Activity Monitor (Except UTM)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.utmapp\\.UTM$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": ["command", "shift"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [{ "shell_command": "open -a 'Activity Monitor.app'" }], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Left Command+. => Emoji dialog (Except UTM)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.utmapp\\.UTM$" | |
| ], | |
| "type": "frontmost_application_unless" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "period", | |
| "modifiers": { | |
| "mandatory": ["left_control"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "spacebar", | |
| "modifiers": ["left_command", "left_control"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "F3 => Command+G (Find Next: Edge)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.edgemac$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "f3", | |
| "modifiers": { | |
| "mandatory": [], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "g", | |
| "modifiers": ["command"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Shift+F3 => Command+Shift+G (Find Previous: Edge)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.edgemac$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "f3", | |
| "modifiers": { | |
| "mandatory": ["shift"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "g", | |
| "modifiers": ["command", "shift"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Option+D => Command+L (Edge)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.edgemac$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "from": { | |
| "key_code": "d", | |
| "modifiers": { | |
| "mandatory": ["left_option"], | |
| "optional": ["caps_lock"] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "l", | |
| "modifiers": ["command"] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "devices": [ | |
| { | |
| "identifiers": { | |
| "is_keyboard": true, | |
| "product_id": 834, | |
| "vendor_id": 1452 | |
| }, | |
| "simple_modifications": [ | |
| { | |
| "from": { "apple_vendor_top_case_key_code": "keyboard_fn" }, | |
| "to": [{ "key_code": "left_command" }] | |
| }, | |
| { | |
| "from": { "key_code": "left_command" }, | |
| "to": [{ "key_code": "left_option" }] | |
| }, | |
| { | |
| "from": { "key_code": "left_control" }, | |
| "to": [{ "apple_vendor_top_case_key_code": "keyboard_fn" }] | |
| }, | |
| { | |
| "from": { "key_code": "left_option" }, | |
| "to": [{ "key_code": "left_control" }] | |
| }, | |
| { | |
| "from": { "key_code": "right_command" }, | |
| "to": [{ "key_code": "right_option" }] | |
| }, | |
| { | |
| "from": { "key_code": "right_option" }, | |
| "to": [{ "key_code": "right_command" }] | |
| } | |
| ] | |
| }, | |
| { | |
| "identifiers": { | |
| "is_keyboard": true, | |
| "product_id": 361, | |
| "vendor_id": 1241 | |
| }, | |
| "simple_modifications": [ | |
| { | |
| "from": { "key_code": "left_command" }, | |
| "to": [{ "key_code": "left_control" }] | |
| }, | |
| { | |
| "from": { "key_code": "left_control" }, | |
| "to": [{ "key_code": "left_command" }] | |
| }, | |
| { | |
| "from": { "key_code": "right_command" }, | |
| "to": [{ "key_code": "right_control" }] | |
| }, | |
| { | |
| "from": { "key_code": "right_control" }, | |
| "to": [{ "key_code": "right_command" }] | |
| } | |
| ] | |
| } | |
| ], | |
| "name": "Default profile", | |
| "selected": true, | |
| "simple_modifications": [ | |
| { | |
| "from": { "apple_vendor_top_case_key_code": "keyboard_fn" }, | |
| "to": [{ "key_code": "left_command" }] | |
| }, | |
| { | |
| "from": { "key_code": "left_command" }, | |
| "to": [{ "key_code": "left_option" }] | |
| }, | |
| { | |
| "from": { "key_code": "left_control" }, | |
| "to": [{ "apple_vendor_top_case_key_code": "keyboard_fn" }] | |
| }, | |
| { | |
| "from": { "key_code": "left_option" }, | |
| "to": [{ "key_code": "left_control" }] | |
| }, | |
| { | |
| "from": { "key_code": "right_command" }, | |
| "to": [{ "key_code": "right_option" }] | |
| }, | |
| { | |
| "from": { "key_code": "right_option" }, | |
| "to": [{ "key_code": "right_command" }] | |
| } | |
| ], | |
| "virtual_hid_keyboard": { | |
| "country_code": 0, | |
| "keyboard_type_v2": "ansi" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment