Created
June 23, 2026 22:35
-
-
Save hehuan2112/f92d414edfdb1a4f62785b7f734005e0 to your computer and use it in GitHub Desktop.
CAPS LOCK + hjkl to arrow keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "description": "CAPS LOCK + hjkl to arrow keys", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "name": "caps_lock pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "m", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "home" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "caps_lock pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "semicolon", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "end" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "caps_lock pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "delete_forward" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "caps_lock pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "j", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "down_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "caps_lock pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "k", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "up_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "caps_lock pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "h", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "left_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "conditions": [ | |
| { | |
| "name": "caps_lock pressed", | |
| "type": "variable_if", | |
| "value": 1 | |
| } | |
| ], | |
| "from": { | |
| "key_code": "l", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [{ "key_code": "right_arrow" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { "optional": ["any"] } | |
| }, | |
| "to": [ | |
| { | |
| "set_variable": { | |
| "name": "caps_lock pressed", | |
| "value": 1 | |
| } | |
| } | |
| ], | |
| "to_after_key_up": [ | |
| { | |
| "set_variable": { | |
| "name": "caps_lock pressed", | |
| "value": 0 | |
| } | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment