Skip to content

Instantly share code, notes, and snippets.

@francisrstokes
Created May 28, 2020 17:03
Show Gist options
  • Save francisrstokes/484fd525a68388c38ba8fbb8440e26e2 to your computer and use it in GitHub Desktop.
Save francisrstokes/484fd525a68388c38ba8fbb8440e26e2 to your computer and use it in GitHub Desktop.
{
"title": "Map CapsLock plus i/j/k/l to Arrows",
"rules": [
{
"description": "Map CapsLock plus i/j/k/l to Arrows",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"caps_lock"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"caps_lock"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"caps_lock"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"caps_lock"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment