{ "title": "Caps Lock to Hyper Key (Command-Control-Shift)", "rules": [ { "description": "Hyper Key: map Caps Lock to Shift-Command-Control (Escape if alone)", "manipulators": [ { "from": { "key_code": "caps_lock", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "left_shift", "modifiers": [ "left_command", "left_control" ] } ], "to_if_alone": [ { "key_code": "escape" } ], "type": "basic" } ] }, { "description": "Hyper Key: map Shift-Command-Control + h/j/k/l to Arrow Keys", "manipulators": [ { "from": { "key_code": "h", "modifiers": { "mandatory": [ "left_shift", "left_command", "left_control" ], "optional": [ "any" ] } }, "to": [ { "key_code": "left_arrow" } ], "type": "basic" }, { "from": { "key_code": "j", "modifiers": { "mandatory": [ "left_shift", "left_command", "left_control" ], "optional": [ "any" ] } }, "to": [ { "key_code": "down_arrow" } ], "type": "basic" }, { "from": { "key_code": "k", "modifiers": { "mandatory": [ "left_shift", "left_command", "left_control" ], "optional": [ "any" ] } }, "to": [ { "key_code": "up_arrow" } ], "type": "basic" }, { "from": { "key_code": "l", "modifiers": { "mandatory": [ "left_shift", "left_command", "left_control" ], "optional": [ "any" ] } }, "to": [ { "key_code": "right_arrow" } ], "type": "basic" } ] } ] }