Skip to content

Instantly share code, notes, and snippets.

@azu
Created July 23, 2017 11:47
Show Gist options
  • Save azu/08a39d89e266502ee6de878181a15f70 to your computer and use it in GitHub Desktop.
Save azu/08a39d89e266502ee6de878181a15f70 to your computer and use it in GitHub Desktop.
Change Tab + I/J/K/L to Arrow Keys - Karabiner-Elements.
{
"title": "Tab + HJKL",
"rules": [
{
"description": "Change Tab to fake modified key",
"manipulators": [
{
"from": {
"key_code": "tab"
},
"to": [
{
"key_code": "fn",
"modifiers": [
"left_option"
]
}
],
"to_if_alone": [
{
"key_code": "tab"
}
],
"type": "basic"
}
]
},
{
"description": "Change Tab + I/J/K/L to Arrow Keys",
"manipulators": [
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"option",
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"option",
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"option",
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"option",
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment