diff options
| author | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2025-08-09 17:12:43 +0200 |
|---|---|---|
| committer | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2025-08-09 17:12:43 +0200 |
| commit | ea82cbb1c0b778dd946c717cceace53fab391ba8 (patch) | |
| tree | f0c84a86f48d61d918b6de9dc464c08370ab6a7c /.config/karabiner/karabiner.json | |
init
Diffstat (limited to '.config/karabiner/karabiner.json')
| -rw-r--r-- | .config/karabiner/karabiner.json | 368 |
1 files changed, 368 insertions, 0 deletions
diff --git a/.config/karabiner/karabiner.json b/.config/karabiner/karabiner.json new file mode 100644 index 0000000..5f4d55c --- /dev/null +++ b/.config/karabiner/karabiner.json @@ -0,0 +1,368 @@ +{ + "global": { + "show_in_menu_bar": false + }, + "profiles": [ + { + "complex_modifications": { + "rules": [ + { + "description": "left_ctrl -> cmd+tab if pressed alone", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "left_command" + }, + "to": [ + { + "key_code": "left_command" + } + ], + "to_if_alone": [ + { + "key_code": "tab", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Disable Control + Left Click", + "enabled": false, + "manipulators": [ + { + "from": { + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + }, + "pointing_button": "button1" + }, + "to": [ + { + "pointing_button": "button1" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Change caps_lock to Hyper Key (⌃⌥⇧⌘)", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_option" + } + ], + "to_if_alone": [ + { + "key_code": "escape" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper+h -> left_arrow", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "left_command", + "left_control", + "left_option", + "left_shift" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper+j -> down_arrow", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": [ + "left_command", + "left_control", + "left_option", + "left_shift" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": [] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper+k -> up_arrow", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": [ + "left_command", + "left_control", + "left_option", + "left_shift" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper+l -> right_arrow", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "left_command", + "left_control", + "left_option", + "left_shift" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper+s -> left_control+s", + "manipulators": [ + { + "from": { + "key_code": "s", + "modifiers": { + "mandatory": [ + "left_option" + ] + } + }, + "to": [ + { + "key_code": "s", + "modifiers": [ + "left_control" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper+delete_or_backspace -> left_option+delete_or_backspace", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "delete_or_backspace", + "modifiers": { + "mandatory": [ + "left_shift", + "left_command", + "left_control", + "left_option" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": [ + "left_option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper+a -> left_control+a", + "manipulators": [ + { + "from": { + "key_code": "a", + "modifiers": { + "mandatory": [ + "left_option" + ] + } + }, + "to": [ + { + "key_code": "a", + "modifiers": [ + "left_control" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper+tab -> left_command+t", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "tab", + "modifiers": { + "mandatory": [ + "left_shift", + "left_command", + "left_control", + "left_option" + ] + } + }, + "to": [ + { + "key_code": "t", + "modifiers": [ + "left_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "left_control+return_or_enter -> left click", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "return_or_enter", + "modifiers": { + "mandatory": [ + "left_control" + ] + } + }, + "to": [ + { + "pointing_button": "button1" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper+q -> right_command+k", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "left_option", + "left_shift", + "left_command", + "left_control" + ] + } + }, + "to": [ + { + "key_code": "k", + "modifiers": [ + "right_command" + ] + } + ], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "identifiers": { + "is_keyboard": true, + "product_id": 53297, + "vendor_id": 13364 + }, + "ignore": true + }, + { + "identifiers": { + "is_keyboard": true, + "product_id": 166, + "vendor_id": 5426 + }, + "ignore": true + } + ], + "virtual_hid_keyboard": { + "keyboard_type_v2": "ansi" + } + } + ] +} |
