Something went wrong. Try again.
use capslock as extend-layer kinda thing on macos with karabiner
Something went wrong. Try again.
5.2 kB 214 lines Created 6mo ago JSON
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214{ "title": "kanjon's personal keyboard settings", "maintainers": ["mtkanjon"], "rules": [ { "description": "kanjon: capslock extend mode", "manipulators": [ { "from": { "key_code": "caps_lock", "modifiers": { "optional": ["any"] } }, "to": [ { "set_variable": { "name": "caps_pressed", "value": 1 } } ], "to_after_key_up": [ { "set_variable": { "name": "caps_pressed", "value": 0 } } ], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "j", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "left_arrow" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "k", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "down_arrow" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "i", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "up_arrow" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "l", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "right_arrow" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "u", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "home" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "o", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "end" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "y", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "page_up" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "h", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "page_down" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "semicolon", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "delete_or_backspace" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "p", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "delete_forward" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "q", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "escape" }], "type": "basic" }, { "conditions": [ { "name": "caps_pressed", "type": "variable_if", "value": 1 } ], "from": { "key_code": "a", "modifiers": { "optional": ["any"] } }, "to": [{ "key_code": "delete_or_backspace" }], "type": "basic" } ] } ]}