Skip to content

Instantly share code, notes, and snippets.

@puneetar
Created August 13, 2017 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save puneetar/f4d25c12975425d4b3929ef0ade85dec to your computer and use it in GitHub Desktop.
Save puneetar/f4d25c12975425d4b3929ef0ade85dec to your computer and use it in GitHub Desktop.
Karabiner : Diamond Cursor : Change option + I/J/K/L to Arrow Keys
{
"title": "Diamond Cursor",
"rules": [
{
"description": "Change option + I/J/K/L to Arrow Keys",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": ["option"],
"optional": ["any"]
}
},
"to": [{"key_code": "up_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["option"],
"optional": ["any"]
}
},
"to": [{"key_code": "left_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["option"],
"optional": ["any"]
}
},
"to": [{"key_code": "down_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["option"],
"optional": ["any"]
}
},
"to": [{"key_code": "right_arrow"}]
}
]
}
]
}
@puneetar
Copy link
Author

Host the JSON somewhere
Open URL : karabiner://karabiner/assets/complex_modifications/import?url=<https://json_url>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment