Added command+hjkl as arrows

This commit is contained in:
Marcin Woźniak 2021-11-01 10:41:51 +01:00
parent 74a6e2adfc
commit e9fc021cd1
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -14,7 +14,89 @@
"basic.to_if_held_down_threshold_milliseconds": 500, "basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100 "mouse_motion_to_scroll.speed": 100
}, },
"rules": [] "rules": [
{
"description": "Change right_command+hjkl to arrow keys",
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
}
]
}, },
"devices": [ "devices": [
{ {
@ -116,7 +198,7 @@
}, },
"to": [ "to": [
{ {
"key_code": "left_command" "key_code": "right_command"
} }
] ]
}, },