Skip to content

Instantly share code, notes, and snippets.

@vio1etus
Created August 8, 2026 08:03
Show Gist options
  • Select an option

  • Save vio1etus/c0049b2a973b2afc7f44500aef75bf63 to your computer and use it in GitHub Desktop.

Select an option

Save vio1etus/c0049b2a973b2afc7f44500aef75bf63 to your computer and use it in GitHub Desktop.
Caps Lock as Command, Command+HJKL as arrows for Karabiner on MacOS
{
"description": "Caps Lock as Command, HJKL as arrows",
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": ["left_command"],
"optional": []
}
},
"to": [{ "key_code": "left_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["left_command"],
"optional": []
}
},
"to": [{ "key_code": "down_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["left_command"],
"optional": []
}
},
"to": [{ "key_code": "up_arrow" }],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["left_command"],
"optional": []
}
},
"to": [{ "key_code": "right_arrow" }],
"type": "basic"
},
{
"from": { "key_code": "caps_lock" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment