Binds F+HJKL to arrows on darwin

This commit is contained in:
willemml 2023-11-30 12:29:06 -08:00
parent 08d8468670
commit 30aaa9016c
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD

View file

@ -8,13 +8,19 @@
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": ["any"]
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_shift",
"modifiers": ["right_command", "right_control", "right_option"]
"modifiers": [
"right_command",
"right_control",
"right_option"
]
}
],
"to_if_alone": [
@ -27,11 +33,11 @@
]
},
{
"description": "Hyper + JKL; keys to arrows",
"description": "Hyper + HJKL keys to arrows",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"right_command",
@ -39,14 +45,19 @@
"right_alt",
"right_shift"
]
},
"key_code": "j"
}
},
"to": [{ "repeat": true, "key_code": "left_arrow" }]
"to": [
{
"key_code": "left_arrow",
"repeat": true
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"key_code": "j",
"modifiers": {
"mandatory": [
"right_gui",
@ -66,7 +77,7 @@
},
{
"from": {
"key_code": "l",
"key_code": "k",
"modifiers": {
"mandatory": [
"right_gui",
@ -86,7 +97,7 @@
},
{
"from": {
"key_code": "semicolon",
"key_code": "l",
"modifiers": {
"mandatory": [
"right_gui",
@ -105,6 +116,39 @@
"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"
}
]
}
]
}