Skip to content

Instantly share code, notes, and snippets.

@calebporzio
Created April 13, 2018 13:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save calebporzio/530781b69a4c63da38d2768db0bae464 to your computer and use it in GitHub Desktop.
Karabiner: Map arrow keys to Q
{
"title": "Death by arrow keys",
"rules": [
{
"description": "Map arrow keys to command Q",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_arrow",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "q",
"modifiers": [
"left_command"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "up_arrow",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "q",
"modifiers": [
"left_command"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "right_arrow",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "q",
"modifiers": [
"left_command"
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "down_arrow",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "q",
"modifiers": [
"left_command"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment