Skip to content

Instantly share code, notes, and snippets.

@icanswiftabit
Created February 20, 2018 15:55
Show Gist options
  • Save icanswiftabit/c9e8698fc69d396f0986cfaf85d55177 to your computer and use it in GitHub Desktop.
Save icanswiftabit/c9e8698fc69d396f0986cfaf85d55177 to your computer and use it in GitHub Desktop.
arrow pad with left control as trigger key
{
"title": "Change left_control + i/j/k/l to arrow keys",
"rules": [
{
"description": "Change left_control + i/j/k/l to arrow keys",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"left_control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"left_control"
],
"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