From 8a84959bdd75e698ac190cd658155528f02eac46 Mon Sep 17 00:00:00 2001 From: Thomas Naderer Date: Wed, 18 Dec 2024 17:25:30 +0100 Subject: [PATCH] Added Karabiner modification files --- .../complex_modifications/1733841366.json | 70 + .../complex_modifications/1734255938.json | 2642 +++++++++++++++++ .../complex_modifications/1734327621.json | 35 + .../complex_modifications/1734348385.json | 190 ++ .../automatic_backups/karabiner_20241210.json | 9 + .../automatic_backups/karabiner_20241212.json | 86 + .../automatic_backups/karabiner_20241215.json | 100 + .../automatic_backups/karabiner_20241216.json | 1403 +++++++++ .../automatic_backups/karabiner_20241217.json | 1472 +++++++++ karabiner/karabiner.json | 1481 +++++++++ 10 files changed, 7488 insertions(+) create mode 100644 karabiner/assets/complex_modifications/1733841366.json create mode 100644 karabiner/assets/complex_modifications/1734255938.json create mode 100644 karabiner/assets/complex_modifications/1734327621.json create mode 100644 karabiner/assets/complex_modifications/1734348385.json create mode 100644 karabiner/automatic_backups/karabiner_20241210.json create mode 100644 karabiner/automatic_backups/karabiner_20241212.json create mode 100644 karabiner/automatic_backups/karabiner_20241215.json create mode 100644 karabiner/automatic_backups/karabiner_20241216.json create mode 100644 karabiner/automatic_backups/karabiner_20241217.json create mode 100644 karabiner/karabiner.json diff --git a/karabiner/assets/complex_modifications/1733841366.json b/karabiner/assets/complex_modifications/1733841366.json new file mode 100644 index 0000000..baf0e5e --- /dev/null +++ b/karabiner/assets/complex_modifications/1733841366.json @@ -0,0 +1,70 @@ +{ + "title": "Left ctrl + hjkl to Arrow Keys Vim", + "rules": [ + { + "description": "Left ctrl + hjkl to arrow keys Vim", + "manipulators": [ + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "left_arrow" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "down_arrow" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "up_arrow" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "right_arrow" + } + ], + "type": "basic" + } + ] + } + ] +} diff --git a/karabiner/assets/complex_modifications/1734255938.json b/karabiner/assets/complex_modifications/1734255938.json new file mode 100644 index 0000000..6d96eb3 --- /dev/null +++ b/karabiner/assets/complex_modifications/1734255938.json @@ -0,0 +1,2642 @@ +{ + "title": "ultimate macOS", + "maintainers": ["suliveevil"], + "homepage": "https://github.com/suliveevil/Capslock", + "import_url": "karabiner://karabiner/assets/complex_modifications/import?url=https://github.com/pqrs-org/KE-complex_modifications/raw/main/public/json/ultimate_macOS.json", + "rules": [ + { + "description": "KBD: BluetoothConverter、IKBC_C87、XD60: Swap Win/CMD and Alt/Opt", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "left_command", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "conditions": [ + { + "type": "device_if", + "identifiers": [ + { + "product_id": 544, + "vendor_id": 1452 + }, + { + "product_id": 31235, + "vendor_id": 1547 + }, + { + "product_id": 24672, + "vendor_id": 52701 + } + ] + } + ], + "to": [ + { + "key_code": "left_option" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "left_option", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "conditions": [ + { + "type": "device_if", + "identifiers": [ + { + "product_id": 544, + "vendor_id": 1452 + }, + { + "product_id": 31235, + "vendor_id": 1547 + }, + { + "product_id": 24672, + "vendor_id": 52701 + } + ] + } + ], + "to": [ + { + "key_code": "left_command" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "right_command", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "conditions": [ + { + "type": "device_if", + "identifiers": [ + { + "product_id": 544, + "vendor_id": 1452 + }, + { + "product_id": 31235, + "vendor_id": 1547 + }, + { + "product_id": 24672, + "vendor_id": 52701 + } + ] + } + ], + "to": [ + { + "key_code": "right_option" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "right_option", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "conditions": [ + { + "type": "device_if", + "identifiers": [ + { + "product_id": 544, + "vendor_id": 1452 + }, + { + "product_id": 31235, + "vendor_id": 1547 + }, + { + "product_id": 24672, + "vendor_id": 52701 + } + ] + } + ], + "to": [ + { + "key_code": "right_command" + } + ] + } + ] + }, + { + "description": "CapsLock to Hyper/Escape", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "caps_lock", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "right_shift", + "modifiers": [ + "right_command", + "right_control", + "right_option" + ] + } + ], + "to_if_alone": [ + { + "key_code": "escape" + } + ] + } + ] + }, + { + "description": "Hyper Navigation: 0 4($) HJKL UIOP", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "0", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "4", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "left_control", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "left_shift", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_control", + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "j", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "down_arrow" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "j", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "j", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": [ + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "j", + "modifiers": { + "mandatory": [ + "left_control", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "j", + "modifiers": { + "mandatory": [ + "left_shift", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "k", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "k", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "k", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [ + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "k", + "modifiers": { + "mandatory": [ + "left_control", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "k", + "modifiers": { + "mandatory": [ + "left_shift", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_command", + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "left_control", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "left_shift", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "u", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "page_up" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "i", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "home" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "o", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "end" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "p", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "page_down" + } + ] + } + ] + }, + { + "description": "Hyper MouseMove: ←↓↑→", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "left_arrow", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "mouse_key": { + "x": -345 + } + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "down_arrow", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "mouse_key": { + "y": 345 + } + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "up_arrow", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "mouse_key": { + "y": -345 + } + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "right_arrow", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "mouse_key": { + "x": 345 + } + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "return_or_enter", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "pointing_button": "button1" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "return_or_enter", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "pointing_button": "button2" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "return_or_enter", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "pointing_button": "button3" + } + ] + } + ] + }, + { + "description": "Hyper Deletion: N M , .", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "n", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": [ + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "n", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "m", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "m", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "comma", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "delete_forward" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "period", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "delete_forward", + "modifiers": [ + "left_option" + ] + } + ] + } + ] + }, + { + "description": "Hyper Window Control: ⇥ QWAS D", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "tab", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "tab", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_command", + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "escape", + "modifiers": [ + "left_command", + "left_option", + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "w", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "w", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "a", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "s", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "s", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": [ + "left_control", + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "d", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "f11" + } + ] + } + ] + }, + { + "description": "Hyper Bash Control: D ZXCVB", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "d", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "d", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "z", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "z", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "x", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "r", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "c", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "c", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "v", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "v", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "b", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "b", + "modifiers": [ + "left_control" + ] + } + ] + } + ] + }, + { + "description": "Hyper Application (held down hyper+g to Fn)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "e", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'finder'" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "e", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Safari'" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "r", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'iTerm'" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "r", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -b com.jetbrains.pycharm" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "t", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Visual Studio Code'" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "t", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Typora'" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "y", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Siri'" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "d", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Dictionary'" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -b com.runningwithcrayons.Alfred-3" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Dash'" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "g", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 250, + "basic.to_if_held_down_threshold_milliseconds": 500 + }, + "to": [ + { + "key_code": "g", + "modifiers": [ + "right_command", + "right_control", + "right_option", + "right_shift" + ] + } + ], + "to_if_held_down": [ + { + "key_code": "fn", + "modifiers": "any" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "g", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_option", + "right_shift" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Google Chrome'" + } + ] + } + ] + }, + { + "description": "Hyper Functional", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "1", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "display_brightness_decrement" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "2", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "display_brightness_increment" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "3", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [ + "left_control" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "4", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'Launchpad'" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "5", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "illumination_decrement" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "6", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "illumination_increment" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "7", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "rewind" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "8", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "play_or_pause" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "9", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "fastforward" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "0", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "mute" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "hyphen", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "volume_decrement" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "equal_sign", + "modifiers": { + "mandatory": [ + "left_option", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "volume_increment" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f13", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "rewind" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f14", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "fastforward" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f15", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "mute" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "insert", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "display_brightness_increment", + "modifiers": [ + "left_shift", + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "delete_forward", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "display_brightness_decrement", + "modifiers": [ + "left_shift", + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "home", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "illumination_increment", + "modifiers": [ + "left_shift", + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "end", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "illumination_decrement", + "modifiers": [ + "left_shift", + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "page_down", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "volume_decrement", + "modifiers": [ + "left_shift", + "left_option" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "page_up", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "volume_increment", + "modifiers": [ + "left_shift", + "left_option" + ] + } + ] + } + ] + }, + { + "description": "Hyper Shifter", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "1", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "1", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "2", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "2", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "3", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "3", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "4", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "4", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "5", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "5", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "6", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "6", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "7", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "7", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "8", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "8", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "9", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "9", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "0", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "0", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "hyphen", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "hyphen", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "equal_sign", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "equal_sign", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "open_bracket", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "open_bracket", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "close_bracket", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "close_bracket", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "semicolon", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "semicolon", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "quote", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "equal_sign" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "semicolon", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "1", + "modifiers": [ + "left_shift" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "quote", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "equal_sign" + } + ] + } + ] + }, + { + "description": "Hyper Misc (Check https://github.com/suliveevil/Capslock for all details)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "escape", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "caps_lock" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "grave_accent_and_tilde", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "4", + "modifiers": [ + "left_shift", + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "grave_accent_and_tilde", + "modifiers": { + "mandatory": [ + "left_command", + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "4", + "modifiers": [ + "left_control", + "left_shift", + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "backslash", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "slash", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "delete_or_backspace", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "slash", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "slash", + "modifiers": [ + "left_command" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "spacebar", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": [ + "left_control" + ] + } + ] + } + ] + } + ] +} diff --git a/karabiner/assets/complex_modifications/1734327621.json b/karabiner/assets/complex_modifications/1734327621.json new file mode 100644 index 0000000..10f22f5 --- /dev/null +++ b/karabiner/assets/complex_modifications/1734327621.json @@ -0,0 +1,35 @@ +{ + "title": "Trackball tools", + "rules": [ + { + "description": "The wheel click is fired by pressing the left and right buttons simultaneously.", + "manipulators": [ + { + "type": "basic", + "from": { + "simultaneous": [ + { "pointing_button": "button1" }, + { "pointing_button": "button2" } + ], + "simultaneous_options": { + "key_up_when": "all" + }, + "modifiers": { + "mandatory": [ + ], + "optional": [ + ] + } + }, + "to": [ + { + "pointing_button": "button3", + "modifiers": [ + ] + } + ] + } + ] + } + ] +} diff --git a/karabiner/assets/complex_modifications/1734348385.json b/karabiner/assets/complex_modifications/1734348385.json new file mode 100644 index 0000000..01ccaea --- /dev/null +++ b/karabiner/assets/complex_modifications/1734348385.json @@ -0,0 +1,190 @@ +{ + "title": "Change mouse motion to scroll (rev 3)", + "maintainers": [ + "tekezo" + ], + "rules": [ + { + "description": "Change button3 + mouse motion to scroll wheel (rev 1)", + "available_since": "12.3.0", + "manipulators": [ + { + "type": "basic", + "from": { + "pointing_button": "button3", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 1 + } + } + ], + "to_after_key_up": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 0 + } + } + ] + }, + { + "type": "mouse_motion_to_scroll", + "from": { + "modifiers": { + "optional": [ + "any" + ] + } + }, + "conditions": [ + { + "type": "variable_if", + "name": "enable_mouse_motion_to_scroll", + "value": 1 + } + ] + } + ] + }, + { + "description": "Change button4 + mouse motion to scroll wheel (rev 1)", + "available_since": "12.3.0", + "manipulators": [ + { + "type": "basic", + "from": { + "pointing_button": "button4", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 1 + } + } + ], + "to_after_key_up": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 0 + } + } + ] + }, + { + "type": "mouse_motion_to_scroll", + "from": { + "modifiers": { + "optional": [ + "any" + ] + } + }, + "conditions": [ + { + "type": "variable_if", + "name": "enable_mouse_motion_to_scroll", + "value": 1 + } + ] + } + ] + }, + { + "description": "Change button5 + mouse motion to scroll wheel (rev 1)", + "available_since": "12.3.0", + "manipulators": [ + { + "type": "basic", + "from": { + "pointing_button": "button5", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 1 + } + } + ], + "to_after_key_up": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 0 + } + } + ] + }, + { + "type": "mouse_motion_to_scroll", + "from": { + "modifiers": { + "optional": [ + "any" + ] + } + }, + "conditions": [ + { + "type": "variable_if", + "name": "enable_mouse_motion_to_scroll", + "value": 1 + } + ] + } + ] + }, + { + "description": "Change control + mouse motion to scroll wheel (rev 1)", + "available_since": "12.3.0", + "manipulators": [ + { + "type": "mouse_motion_to_scroll", + "from": { + "modifiers": { + "mandatory": [ + "control" + ] + } + } + } + ] + }, + { + "description": "Change fn + mouse motion to scroll wheel (rev 1)", + "available_since": "12.3.0", + "manipulators": [ + { + "type": "mouse_motion_to_scroll", + "from": { + "modifiers": { + "mandatory": [ + "fn" + ] + } + } + } + ] + } + ] +} diff --git a/karabiner/automatic_backups/karabiner_20241210.json b/karabiner/automatic_backups/karabiner_20241210.json new file mode 100644 index 0000000..df6e8bc --- /dev/null +++ b/karabiner/automatic_backups/karabiner_20241210.json @@ -0,0 +1,9 @@ +{ + "profiles": [ + { + "name": "Default profile", + "selected": true, + "virtual_hid_keyboard": { "keyboard_type_v2": "iso" } + } + ] +} \ No newline at end of file diff --git a/karabiner/automatic_backups/karabiner_20241212.json b/karabiner/automatic_backups/karabiner_20241212.json new file mode 100644 index 0000000..adc0dba --- /dev/null +++ b/karabiner/automatic_backups/karabiner_20241212.json @@ -0,0 +1,86 @@ +{ + "profiles": [ + { + "complex_modifications": { + "rules": [ + { + "description": "Left ctrl + hjkl to arrow keys Vim", + "manipulators": [ + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "left_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "down_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "up_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "right_arrow" }], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "identifiers": { "is_keyboard": true }, + "simple_modifications": [ + { + "from": { "key_code": "caps_lock" }, + "to": [{ "key_code": "escape" }] + } + ] + }, + { + "identifiers": { + "is_keyboard": true, + "product_id": 620, + "vendor_id": 76 + }, + "simple_modifications": [ + { + "from": { "key_code": "caps_lock" }, + "to": [{ "key_code": "escape" }] + } + ] + } + ], + "name": "Default profile", + "selected": true, + "virtual_hid_keyboard": { "keyboard_type_v2": "iso" } + } + ] +} \ No newline at end of file diff --git a/karabiner/automatic_backups/karabiner_20241215.json b/karabiner/automatic_backups/karabiner_20241215.json new file mode 100644 index 0000000..cfc1be2 --- /dev/null +++ b/karabiner/automatic_backups/karabiner_20241215.json @@ -0,0 +1,100 @@ +{ + "global": { + "ask_for_confirmation_before_quitting": false, + "show_in_menu_bar": false + }, + "profiles": [ + { + "complex_modifications": { + "rules": [ + { + "description": "Left ctrl + hjkl to arrow keys Vim", + "manipulators": [ + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "left_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "down_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "up_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "right_arrow" }], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "identifiers": { "is_keyboard": true }, + "simple_modifications": [ + { + "from": { "key_code": "caps_lock" }, + "to": [{ "key_code": "escape" }] + } + ] + }, + { + "identifiers": { + "is_keyboard": true, + "product_id": 620, + "vendor_id": 76 + }, + "simple_modifications": [ + { + "from": { "key_code": "caps_lock" }, + "to": [{ "key_code": "escape" }] + } + ] + }, + { + "identifiers": { + "is_keyboard": true, + "is_pointing_device": true, + "product_id": 45081, + "vendor_id": 1133 + }, + "ignore": false, + "mouse_flip_horizontal_wheel": true + } + ], + "name": "Default profile", + "selected": true, + "virtual_hid_keyboard": { "keyboard_type_v2": "iso" } + } + ] +} \ No newline at end of file diff --git a/karabiner/automatic_backups/karabiner_20241216.json b/karabiner/automatic_backups/karabiner_20241216.json new file mode 100644 index 0000000..ed48178 --- /dev/null +++ b/karabiner/automatic_backups/karabiner_20241216.json @@ -0,0 +1,1403 @@ +{ + "global": { + "ask_for_confirmation_before_quitting": false, + "show_in_menu_bar": false + }, + "profiles": [ + { + "complex_modifications": { + "rules": [ + { + "description": "Hyper Window Control: ⇥ QWAS D", + "manipulators": [ + { + "from": { + "key_code": "tab", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "tab", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "q", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "q", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "q", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "escape", + "modifiers": ["left_command", "left_option", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "w", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "w", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "a", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "s", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "s", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "d", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "f11" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Shifter", + "manipulators": [ + { + "from": { + "key_code": "1", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "1", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "2", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "2", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "3", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "3", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "4", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "4", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "5", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "5", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "6", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "6", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "7", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "7", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "8", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "8", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "9", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "9", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "0", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "0", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "hyphen", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "hyphen", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "equal_sign", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "equal_sign", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "open_bracket", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "open_bracket", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "close_bracket", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "close_bracket", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "semicolon", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "semicolon", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "quote", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "equal_sign" }], + "type": "basic" + }, + { + "from": { + "key_code": "semicolon", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "1", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "quote", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "equal_sign" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Bash Control: D ZXCVB", + "manipulators": [ + { + "from": { + "key_code": "d", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "d", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "z", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "z", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "x", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "r", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "c", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "c", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "v", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "v", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "b", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "b", + "modifiers": ["left_control"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Deletion: N M , .", + "manipulators": [ + { + "from": { + "key_code": "n", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "n", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "m", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "delete_or_backspace" }], + "type": "basic" + }, + { + "from": { + "key_code": "m", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "comma", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "delete_forward" }], + "type": "basic" + }, + { + "from": { + "key_code": "period", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_forward", + "modifiers": ["left_option"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Misc (Check https://github.com/suliveevil/Capslock for all details)", + "manipulators": [ + { + "from": { + "key_code": "escape", + "modifiers": { + "mandatory": ["right_command", "right_control", "right_shift", "right_option"], + "optional": ["caps_lock"] + } + }, + "to": [{ "key_code": "caps_lock" }], + "type": "basic" + }, + { + "from": { + "key_code": "grave_accent_and_tilde", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "4", + "modifiers": ["left_shift", "left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "grave_accent_and_tilde", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "4", + "modifiers": ["left_control", "left_shift", "left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "backslash", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "slash", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "delete_or_backspace", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "slash", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "slash", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "spacebar", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": ["left_control"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Application (held down hyper+g to Fn)", + "manipulators": [ + { + "from": { + "key_code": "e", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'finder'" }], + "type": "basic" + }, + { + "from": { + "key_code": "e", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Safari'" }], + "type": "basic" + }, + { + "from": { + "key_code": "r", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'iTerm'" }], + "type": "basic" + }, + { + "from": { + "key_code": "r", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -b com.jetbrains.pycharm" }], + "type": "basic" + }, + { + "from": { + "key_code": "t", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Visual Studio Code'" }], + "type": "basic" + }, + { + "from": { + "key_code": "t", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Typora'" }], + "type": "basic" + }, + { + "from": { + "key_code": "y", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Siri'" }], + "type": "basic" + }, + { + "from": { + "key_code": "d", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Dictionary'" }], + "type": "basic" + }, + { + "from": { + "key_code": "f", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -b com.runningwithcrayons.Alfred-3" }], + "type": "basic" + }, + { + "from": { + "key_code": "f", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Dash'" }], + "type": "basic" + }, + { + "from": { + "key_code": "g", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 250, + "basic.to_if_held_down_threshold_milliseconds": 500 + }, + "to": [ + { + "key_code": "g", + "modifiers": ["right_command", "right_control", "right_option", "right_shift"] + } + ], + "to_if_held_down": [ + { + "key_code": "fn", + "modifiers": "any" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "g", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_option", "right_shift"] } + }, + "to": [{ "shell_command": "open -a 'Google Chrome'" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Functional", + "manipulators": [ + { + "from": { + "key_code": "1", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "display_brightness_decrement" }], + "type": "basic" + }, + { + "from": { + "key_code": "2", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "display_brightness_increment" }], + "type": "basic" + }, + { + "from": { + "key_code": "3", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "4", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Launchpad'" }], + "type": "basic" + }, + { + "from": { + "key_code": "5", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "illumination_decrement" }], + "type": "basic" + }, + { + "from": { + "key_code": "6", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "illumination_increment" }], + "type": "basic" + }, + { + "from": { + "key_code": "7", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "rewind" }], + "type": "basic" + }, + { + "from": { + "key_code": "8", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "play_or_pause" }], + "type": "basic" + }, + { + "from": { + "key_code": "9", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "fastforward" }], + "type": "basic" + }, + { + "from": { + "key_code": "0", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "mute" }], + "type": "basic" + }, + { + "from": { + "key_code": "hyphen", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "volume_decrement" }], + "type": "basic" + }, + { + "from": { + "key_code": "equal_sign", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "volume_increment" }], + "type": "basic" + }, + { + "from": { + "key_code": "f13", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "rewind" }], + "type": "basic" + }, + { + "from": { + "key_code": "f14", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "fastforward" }], + "type": "basic" + }, + { + "from": { + "key_code": "f15", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "mute" }], + "type": "basic" + }, + { + "from": { + "key_code": "insert", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "display_brightness_increment", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "delete_forward", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "display_brightness_decrement", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "home", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "illumination_increment", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "end", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "illumination_decrement", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "page_down", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "volume_decrement", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "page_up", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "volume_increment", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper MouseMove: ←↓↑→", + "manipulators": [ + { + "from": { + "key_code": "left_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "x": -345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "down_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "y": 345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "up_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "y": -345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "right_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "x": 345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "pointing_button": "button1" }], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "pointing_button": "button2" }], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "pointing_button": "button3" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Navigation: 0 4($) HJKL UIOP", + "manipulators": [ + { + "from": { + "key_code": "0", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "4", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "left_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "down_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "up_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "right_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "u", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "page_up" }], + "type": "basic" + }, + { + "from": { + "key_code": "i", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "home" }], + "type": "basic" + }, + { + "from": { + "key_code": "o", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "end" }], + "type": "basic" + }, + { + "from": { + "key_code": "p", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "page_down" }], + "type": "basic" + } + ] + }, + { + "description": "CapsLock to Hyper/Escape", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { "optional": ["any"] } + }, + "to": [ + { + "key_code": "right_shift", + "modifiers": ["right_command", "right_control", "right_option"] + } + ], + "to_if_alone": [{ "key_code": "escape" }], + "type": "basic" + } + ] + }, + { + "description": "Left ctrl + hjkl to arrow keys Vim", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "left_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "down_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "up_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "right_arrow" }], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "identifiers": { + "is_keyboard": true, + "product_id": 620, + "vendor_id": 76 + }, + "simple_modifications": [ + { + "from": { "key_code": "caps_lock" }, + "to": [{ "key_code": "escape" }] + } + ] + }, + { + "identifiers": { + "is_keyboard": true, + "is_pointing_device": true, + "product_id": 45081, + "vendor_id": 1133 + }, + "ignore": false, + "mouse_flip_horizontal_wheel": true + }, + { + "identifiers": { + "is_keyboard": true, + "product_id": 34304, + "vendor_id": 1452 + }, + "ignore": true + } + ], + "name": "Default profile", + "selected": true, + "virtual_hid_keyboard": { "keyboard_type_v2": "iso" } + } + ] +} \ No newline at end of file diff --git a/karabiner/automatic_backups/karabiner_20241217.json b/karabiner/automatic_backups/karabiner_20241217.json new file mode 100644 index 0000000..31cf9b5 --- /dev/null +++ b/karabiner/automatic_backups/karabiner_20241217.json @@ -0,0 +1,1472 @@ +{ + "global": { + "ask_for_confirmation_before_quitting": false, + "show_in_menu_bar": false + }, + "profiles": [ + { + "complex_modifications": { + "rules": [ + { + "available_since": "12.3.0", + "description": "Change button3 + mouse motion to scroll wheel (rev 1)", + "manipulators": [ + { + "from": { + "modifiers": { "optional": ["any"] }, + "pointing_button": "button3" + }, + "to": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 1 + } + } + ], + "to_after_key_up": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 0 + } + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "enable_mouse_motion_to_scroll", + "type": "variable_if", + "value": 1 + } + ], + "from": { "modifiers": { "optional": ["any"] } }, + "type": "mouse_motion_to_scroll" + } + ] + }, + { + "available_since": "12.3.0", + "description": "Change control + mouse motion to scroll wheel (rev 1)", + "manipulators": [ + { + "from": { "modifiers": { "mandatory": ["control"] } }, + "type": "mouse_motion_to_scroll" + } + ] + }, + { + "description": "The wheel click is fired by pressing the left and right buttons simultaneously.", + "manipulators": [ + { + "from": { + "modifiers": { + "mandatory": [], + "optional": [] + }, + "simultaneous": [ + { "pointing_button": "button1" }, + { "pointing_button": "button2" } + ], + "simultaneous_options": { "key_up_when": "all" } + }, + "to": [ + { + "modifiers": [], + "pointing_button": "button3" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Window Control: ⇥ QWAS D", + "manipulators": [ + { + "from": { + "key_code": "tab", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "tab", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "q", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "q", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "q", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "escape", + "modifiers": ["left_command", "left_option", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "w", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "w", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "a", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "s", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "s", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "d", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "f11" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Shifter", + "manipulators": [ + { + "from": { + "key_code": "1", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "1", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "2", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "2", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "3", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "3", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "4", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "4", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "5", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "5", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "6", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "6", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "7", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "7", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "8", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "8", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "9", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "9", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "0", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "0", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "hyphen", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "hyphen", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "equal_sign", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "equal_sign", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "open_bracket", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "open_bracket", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "close_bracket", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "close_bracket", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "semicolon", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "semicolon", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "quote", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "equal_sign" }], + "type": "basic" + }, + { + "from": { + "key_code": "semicolon", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "1", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "quote", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "equal_sign" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Bash Control: D ZXCVB", + "manipulators": [ + { + "from": { + "key_code": "d", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "d", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "z", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "z", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "x", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "r", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "c", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "c", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "v", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "v", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "b", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "b", + "modifiers": ["left_control"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Deletion: N M , .", + "manipulators": [ + { + "from": { + "key_code": "n", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "n", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "m", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "delete_or_backspace" }], + "type": "basic" + }, + { + "from": { + "key_code": "m", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "comma", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "delete_forward" }], + "type": "basic" + }, + { + "from": { + "key_code": "period", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_forward", + "modifiers": ["left_option"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Misc (Check https://github.com/suliveevil/Capslock for all details)", + "manipulators": [ + { + "from": { + "key_code": "escape", + "modifiers": { + "mandatory": ["right_command", "right_control", "right_shift", "right_option"], + "optional": ["caps_lock"] + } + }, + "to": [{ "key_code": "caps_lock" }], + "type": "basic" + }, + { + "from": { + "key_code": "grave_accent_and_tilde", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "4", + "modifiers": ["left_shift", "left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "grave_accent_and_tilde", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "4", + "modifiers": ["left_control", "left_shift", "left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "backslash", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "slash", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "delete_or_backspace", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "slash", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "slash", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "spacebar", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": ["left_control"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Application (held down hyper+g to Fn)", + "manipulators": [ + { + "from": { + "key_code": "e", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'finder'" }], + "type": "basic" + }, + { + "from": { + "key_code": "e", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Safari'" }], + "type": "basic" + }, + { + "from": { + "key_code": "r", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'iTerm'" }], + "type": "basic" + }, + { + "from": { + "key_code": "r", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -b com.jetbrains.pycharm" }], + "type": "basic" + }, + { + "from": { + "key_code": "t", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Visual Studio Code'" }], + "type": "basic" + }, + { + "from": { + "key_code": "t", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Typora'" }], + "type": "basic" + }, + { + "from": { + "key_code": "y", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Siri'" }], + "type": "basic" + }, + { + "from": { + "key_code": "d", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Dictionary'" }], + "type": "basic" + }, + { + "from": { + "key_code": "f", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a Alfred" }], + "type": "basic" + }, + { + "from": { + "key_code": "f", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Dash'" }], + "type": "basic" + }, + { + "from": { + "key_code": "g", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 250, + "basic.to_if_held_down_threshold_milliseconds": 500 + }, + "to": [ + { + "key_code": "g", + "modifiers": ["right_command", "right_control", "right_option", "right_shift"] + } + ], + "to_if_held_down": [ + { + "key_code": "fn", + "modifiers": "any" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "g", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_option", "right_shift"] } + }, + "to": [{ "shell_command": "open -a 'Google Chrome'" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Functional", + "manipulators": [ + { + "from": { + "key_code": "1", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "display_brightness_decrement" }], + "type": "basic" + }, + { + "from": { + "key_code": "2", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "display_brightness_increment" }], + "type": "basic" + }, + { + "from": { + "key_code": "3", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "4", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Launchpad'" }], + "type": "basic" + }, + { + "from": { + "key_code": "5", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "illumination_decrement" }], + "type": "basic" + }, + { + "from": { + "key_code": "6", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "illumination_increment" }], + "type": "basic" + }, + { + "from": { + "key_code": "7", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "rewind" }], + "type": "basic" + }, + { + "from": { + "key_code": "8", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "play_or_pause" }], + "type": "basic" + }, + { + "from": { + "key_code": "9", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "fastforward" }], + "type": "basic" + }, + { + "from": { + "key_code": "0", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "mute" }], + "type": "basic" + }, + { + "from": { + "key_code": "hyphen", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "volume_decrement" }], + "type": "basic" + }, + { + "from": { + "key_code": "equal_sign", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "volume_increment" }], + "type": "basic" + }, + { + "from": { + "key_code": "f13", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "rewind" }], + "type": "basic" + }, + { + "from": { + "key_code": "f14", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "fastforward" }], + "type": "basic" + }, + { + "from": { + "key_code": "f15", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "mute" }], + "type": "basic" + }, + { + "from": { + "key_code": "insert", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "display_brightness_increment", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "delete_forward", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "display_brightness_decrement", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "home", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "illumination_increment", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "end", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "illumination_decrement", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "page_down", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "volume_decrement", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "page_up", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "volume_increment", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper MouseMove: ←↓↑→", + "manipulators": [ + { + "from": { + "key_code": "left_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "x": -345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "down_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "y": 345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "up_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "y": -345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "right_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "x": 345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "pointing_button": "button1" }], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "pointing_button": "button2" }], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "pointing_button": "button3" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Navigation: 0 4($) HJKL UIOP", + "manipulators": [ + { + "from": { + "key_code": "0", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "4", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "left_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "down_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "up_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "right_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "u", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "page_up" }], + "type": "basic" + }, + { + "from": { + "key_code": "i", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "home" }], + "type": "basic" + }, + { + "from": { + "key_code": "o", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "end" }], + "type": "basic" + }, + { + "from": { + "key_code": "p", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "page_down" }], + "type": "basic" + } + ] + }, + { + "description": "CapsLock to Hyper/Escape", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { "optional": ["any"] } + }, + "to": [ + { + "key_code": "right_shift", + "modifiers": ["right_command", "right_control", "right_option"] + } + ], + "to_if_alone": [{ "key_code": "escape" }], + "type": "basic" + } + ] + }, + { + "description": "Left ctrl + hjkl to arrow keys Vim", + "manipulators": [ + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "left_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "down_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "up_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "right_arrow" }], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "identifiers": { + "is_keyboard": true, + "product_id": 620, + "vendor_id": 76 + }, + "manipulate_caps_lock_led": false + }, + { + "identifiers": { + "is_keyboard": true, + "is_pointing_device": true, + "product_id": 45081, + "vendor_id": 1133 + }, + "ignore": false, + "mouse_flip_horizontal_wheel": true + }, + { + "identifiers": { + "is_keyboard": true, + "product_id": 34304, + "vendor_id": 1452 + }, + "ignore": true + } + ], + "name": "Default profile", + "selected": true, + "virtual_hid_keyboard": { "keyboard_type_v2": "iso" } + } + ] +} \ No newline at end of file diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json new file mode 100644 index 0000000..4dc302a --- /dev/null +++ b/karabiner/karabiner.json @@ -0,0 +1,1481 @@ +{ + "global": { + "ask_for_confirmation_before_quitting": false, + "show_in_menu_bar": false + }, + "profiles": [ + { + "complex_modifications": { + "rules": [ + { + "available_since": "12.3.0", + "description": "Change button3 + mouse motion to scroll wheel (rev 1)", + "manipulators": [ + { + "from": { + "modifiers": { "optional": ["any"] }, + "pointing_button": "button3" + }, + "to": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 1 + } + } + ], + "to_after_key_up": [ + { + "set_variable": { + "name": "enable_mouse_motion_to_scroll", + "value": 0 + } + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "name": "enable_mouse_motion_to_scroll", + "type": "variable_if", + "value": 1 + } + ], + "from": { "modifiers": { "optional": ["any"] } }, + "type": "mouse_motion_to_scroll" + } + ] + }, + { + "available_since": "12.3.0", + "description": "Change control + mouse motion to scroll wheel (rev 1)", + "manipulators": [ + { + "from": { "modifiers": { "mandatory": ["control"] } }, + "type": "mouse_motion_to_scroll" + } + ] + }, + { + "description": "The wheel click is fired by pressing the left and right buttons simultaneously.", + "manipulators": [ + { + "from": { + "modifiers": { + "mandatory": [], + "optional": [] + }, + "simultaneous": [ + { "pointing_button": "button1" }, + { "pointing_button": "button2" } + ], + "simultaneous_options": { "key_up_when": "all" } + }, + "to": [ + { + "modifiers": [], + "pointing_button": "button3" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Window Control: ⇥ QWAS D", + "manipulators": [ + { + "from": { + "key_code": "tab", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "tab", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "q", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "q", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "q", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "escape", + "modifiers": ["left_command", "left_option", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "w", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "w", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "a", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "s", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "s", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "d", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "f11" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Shifter", + "manipulators": [ + { + "from": { + "key_code": "1", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "1", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "2", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "2", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "3", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "3", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "4", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "4", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "5", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "5", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "6", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "6", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "7", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "7", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "8", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "8", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "9", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "9", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "0", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "0", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "hyphen", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "hyphen", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "equal_sign", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "equal_sign", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "open_bracket", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "open_bracket", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "close_bracket", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "close_bracket", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "semicolon", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "semicolon", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "quote", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "equal_sign" }], + "type": "basic" + }, + { + "from": { + "key_code": "semicolon", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "1", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "quote", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "equal_sign" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Bash Control: D ZXCVB", + "manipulators": [ + { + "from": { + "key_code": "d", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "d", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "z", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "z", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "x", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "r", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "c", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "c", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "v", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "v", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "b", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "b", + "modifiers": ["left_control"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Deletion: N M , .", + "manipulators": [ + { + "from": { + "key_code": "n", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "n", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "m", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "delete_or_backspace" }], + "type": "basic" + }, + { + "from": { + "key_code": "m", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "comma", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "delete_forward" }], + "type": "basic" + }, + { + "from": { + "key_code": "period", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_forward", + "modifiers": ["left_option"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Misc (Check https://github.com/suliveevil/Capslock for all details)", + "manipulators": [ + { + "from": { + "key_code": "escape", + "modifiers": { + "mandatory": ["right_command", "right_control", "right_shift", "right_option"], + "optional": ["caps_lock"] + } + }, + "to": [{ "key_code": "caps_lock" }], + "type": "basic" + }, + { + "from": { + "key_code": "grave_accent_and_tilde", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "4", + "modifiers": ["left_shift", "left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "grave_accent_and_tilde", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "4", + "modifiers": ["left_control", "left_shift", "left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "backslash", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "slash", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "delete_or_backspace", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "slash", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "slash", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "spacebar", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": ["left_control"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper Application (held down hyper+g to Fn)", + "manipulators": [ + { + "from": { + "key_code": "e", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'finder'" }], + "type": "basic" + }, + { + "from": { + "key_code": "e", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Safari'" }], + "type": "basic" + }, + { + "from": { + "key_code": "r", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'iTerm'" }], + "type": "basic" + }, + { + "from": { + "key_code": "r", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -b com.jetbrains.pycharm" }], + "type": "basic" + }, + { + "from": { + "key_code": "t", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Visual Studio Code'" }], + "type": "basic" + }, + { + "from": { + "key_code": "t", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Typora'" }], + "type": "basic" + }, + { + "from": { + "key_code": "y", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Siri'" }], + "type": "basic" + }, + { + "from": { + "key_code": "d", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Dictionary'" }], + "type": "basic" + }, + { + "from": { + "key_code": "f", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a Firefox" }], + "type": "basic" + }, + { + "from": { + "key_code": "a", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a Alfred" }], + "type": "basic" + }, + { + "from": { + "key_code": "f", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Dash'" }], + "type": "basic" + }, + { + "from": { + "key_code": "g", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "parameters": { + "basic.to_if_alone_timeout_milliseconds": 250, + "basic.to_if_held_down_threshold_milliseconds": 500 + }, + "to": [ + { + "key_code": "g", + "modifiers": ["right_command", "right_control", "right_option", "right_shift"] + } + ], + "to_if_held_down": [ + { + "key_code": "fn", + "modifiers": "any" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "g", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_option", "right_shift"] } + }, + "to": [{ "shell_command": "open -a 'Google Chrome'" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Functional", + "manipulators": [ + { + "from": { + "key_code": "1", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "display_brightness_decrement" }], + "type": "basic" + }, + { + "from": { + "key_code": "2", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "display_brightness_increment" }], + "type": "basic" + }, + { + "from": { + "key_code": "3", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "4", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "shell_command": "open -a 'Launchpad'" }], + "type": "basic" + }, + { + "from": { + "key_code": "5", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "illumination_decrement" }], + "type": "basic" + }, + { + "from": { + "key_code": "6", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "illumination_increment" }], + "type": "basic" + }, + { + "from": { + "key_code": "7", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "rewind" }], + "type": "basic" + }, + { + "from": { + "key_code": "8", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "play_or_pause" }], + "type": "basic" + }, + { + "from": { + "key_code": "9", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "fastforward" }], + "type": "basic" + }, + { + "from": { + "key_code": "0", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "mute" }], + "type": "basic" + }, + { + "from": { + "key_code": "hyphen", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "volume_decrement" }], + "type": "basic" + }, + { + "from": { + "key_code": "equal_sign", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "volume_increment" }], + "type": "basic" + }, + { + "from": { + "key_code": "f13", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "rewind" }], + "type": "basic" + }, + { + "from": { + "key_code": "f14", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "fastforward" }], + "type": "basic" + }, + { + "from": { + "key_code": "f15", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "mute" }], + "type": "basic" + }, + { + "from": { + "key_code": "insert", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "display_brightness_increment", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "delete_forward", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "display_brightness_decrement", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "home", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "illumination_increment", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "end", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "illumination_decrement", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "page_down", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "volume_decrement", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "page_up", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "volume_increment", + "modifiers": ["left_shift", "left_option"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper MouseMove: ←↓↑→", + "manipulators": [ + { + "from": { + "key_code": "left_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "x": -345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "down_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "y": 345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "up_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "y": -345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "right_arrow", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "mouse_key": { "x": 345 } }], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "pointing_button": "button1" }], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "pointing_button": "button2" }], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "pointing_button": "button3" }], + "type": "basic" + } + ] + }, + { + "description": "Hyper Navigation: 0 4($) HJKL UIOP", + "manipulators": [ + { + "from": { + "key_code": "0", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "4", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "left_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "down_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "up_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_command", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "right_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_command", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_option", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_control", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { "mandatory": ["left_shift", "right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "u", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "page_up" }], + "type": "basic" + }, + { + "from": { + "key_code": "i", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "home" }], + "type": "basic" + }, + { + "from": { + "key_code": "o", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "end" }], + "type": "basic" + }, + { + "from": { + "key_code": "p", + "modifiers": { "mandatory": ["right_command", "right_control", "right_shift", "right_option"] } + }, + "to": [{ "key_code": "page_down" }], + "type": "basic" + } + ] + }, + { + "description": "CapsLock to Hyper/Escape", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { "optional": ["any"] } + }, + "to": [ + { + "key_code": "right_shift", + "modifiers": ["right_command", "right_control", "right_option"] + } + ], + "to_if_alone": [{ "key_code": "escape" }], + "type": "basic" + } + ] + }, + { + "description": "Left ctrl + hjkl to arrow keys Vim", + "enabled": false, + "manipulators": [ + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "left_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "down_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "up_arrow" }], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": ["left_control"], + "optional": ["any"] + } + }, + "to": [{ "key_code": "right_arrow" }], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "identifiers": { + "is_keyboard": true, + "product_id": 620, + "vendor_id": 76 + }, + "manipulate_caps_lock_led": false + }, + { + "identifiers": { + "is_keyboard": true, + "is_pointing_device": true, + "product_id": 45081, + "vendor_id": 1133 + }, + "ignore": false, + "mouse_flip_horizontal_wheel": true + }, + { + "identifiers": { + "is_keyboard": true, + "product_id": 34304, + "vendor_id": 1452 + }, + "ignore": true + } + ], + "name": "Default profile", + "selected": true, + "virtual_hid_keyboard": { "keyboard_type_v2": "iso" } + } + ] +} \ No newline at end of file