{ "title": "CapsLock to Esc/Hyper, Hyper + JKL; keys to arrows", "rules": [ { "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": "Hyper + HJKL keys to arrows", "manipulators": [ { "from": { "key_code": "h", "modifiers": { "mandatory": [ "right_command", "right_control", "right_alt", "right_shift" ] } }, "to": [ { "key_code": "left_arrow", "repeat": true } ], "type": "basic" }, { "from": { "key_code": "j", "modifiers": { "mandatory": [ "right_gui", "right_control", "right_alt", "right_shift" ] } }, "to": [ { "key_code": "down_arrow", "repeat": true } ], "type": "basic" }, { "from": { "key_code": "k", "modifiers": { "mandatory": [ "right_gui", "right_control", "right_alt", "right_shift" ] } }, "to": [ { "key_code": "up_arrow", "repeat": true } ], "type": "basic" }, { "from": { "key_code": "l", "modifiers": { "mandatory": [ "right_gui", "right_control", "right_alt", "right_shift" ] } }, "to": [ { "key_code": "right_arrow", "repeat": true } ], "type": "basic" } ] }, { "description": "F as Hyper", "manipulators": [ { "from": { "key_code": "f", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "f", "repeat": true } ], "to_if_held_down": [ { "key_code": "right_shift", "modifiers": [ "right_gui", "right_control", "right_alt" ], "repeat": true } ], "type": "basic" } ] } ] }