settings.json
{
“title”: “Enhanced CAPS LOCK”,
“rules”: [
{
“description”: “CAPS LOCK + jikl to arrow keys”,
“manipulators”: [
{
“type”: “basic”,
“from”: {
“key_code”: “j”,
“modifiers”: {
“optional”: [
“any”
]
}
},
“to”: [
{
“key_code”: “left_arrow”
}
],
“conditions”: [
{
“type”: “variable_if”,
“name”: “caps_lock pressed”,
“value”: 1
}
]
},
{
“type”: “basic”,
“from”: {
“key_code”: “k”,
“modifiers”: {
“optional”: [
“any”
]
}
},
“to”: [
{
“key_code”: “down_arrow”
}
],
“conditions”: [
{
“type”: “variable_if”,
“name”: “caps_lock pressed”,
“value”: 1
}
]
},
{
“type”: “basic”,
“from”: {
“key_code”: “i”,
“modifiers”: {
“optional”: [
“any”
]
}
},
“to”: [
{
“key_code”: “up_arrow”
}
],
“conditions”: [
{
“type”: “variable_if”,
“name”: “caps_lock pressed”,
“value”: 1
}
]
},
{
“type”: “basic”,
“from”: {
“key_code”: “l”,
“modifiers”: {
“optional”: [
“any”
]
}
},
“to”: [
{
“key_code”: “right_arrow”
}
],
“conditions”: [
{
“type”: “variable_if”,
“name”: “caps_lock pressed”,
“value”: 1
}
]
},
{
“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
}
}
]
}
]
},
{
“description”: “CAPS LOCK + o to backspace”,
“manipulators”: [
{
“type”: “basic”,
“from”: {
“key_code”: “o”,
“modifiers”: {
“optional”: [
“any”
]
}
},
“to”: [
{
“key_code”: “delete_or_backspace”
}
],
“conditions”: [
{
“type”: “variable_if”,
“name”: “caps_lock pressed”,
“value”: 1
}
]
}
]
},
{
“description”: “CAPS LOCK + d to delete_forward”,
“manipulators”: [
{
“type”: “basic”,
“from”: {
“key_code”: “d”,
“modifiers”: {
“optional”: [
“any”
]
}
},
“to”: [
{
“key_code”: “delete_forward”
}
],
“conditions”: [
{
“type”: “variable_if”,
“name”: “caps_lock pressed”,
“value”: 1
}
]
}
]
},
{
“description”: “CAPS LOCK + uh to PageUp/Down”,
“manipulators”: [
{
“type”: “basic”,
“from”: {
“key_code”: “u”,
“modifiers”: {
“optional”: [
“any”
]
}
},
“to”: [
{
“key_code”: “page_up”
}
],
“conditions”: [
{
“type”: “variable_if”,
“name”: “caps_lock pressed”,
“value”: 1
}
]
},
{
“type”: “basic”,
“from”: {
“key_code”: “h”,
“modifiers”: {
“optional”: [
“any”
]
}
},
“to”: [
{
“key_code”: “page_down”
}
],
“conditions”: [
{
“type”: “variable_if”,
“name”: “caps_lock pressed”,
“value”: 1
}
]
}
]
},
{
“description”: “CAPS LOCK + Space to Return”,
“manipulators”: [
{
“type”: “basic”,
“from”: {
“key_code”: “spacebar”,
“modifiers”: {
“optional”: [
“any”
]
}
},
“to”: [
{
“key_code”: “return_or_enter”
}
],
“conditions”: [
{
“type”: “variable_if”,
“name”: “caps_lock pressed”,
“value”: 1
}
]
}
]
}
]
}