Skip to content

Instantly share code, notes, and snippets.

@T1T4N
Last active October 20, 2017 09:47
Show Gist options
  • Save T1T4N/bc5b05ecb173b6c4a84b6ac3cdec44f8 to your computer and use it in GitHub Desktop.
Save T1T4N/bc5b05ecb173b6c4a84b6ac3cdec44f8 to your computer and use it in GitHub Desktop.
Home row as arrows using Karabiner Elements
{
"title": "Home row cursor",
"rules": [
{
"description": "Change fn + H/J/K/L to Arrow Keys",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "h",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [{"key_code": "left_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [{"key_code": "down_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [{"key_code": "up_arrow"}]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["fn"],
"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