Skip to content

Instantly share code, notes, and snippets.

@okb1100
Created May 21, 2024 22:39
Show Gist options
  • Save okb1100/e0ea5ce318625890b9638fce2e1fa304 to your computer and use it in GitHub Desktop.
Save okb1100/e0ea5ce318625890b9638fce2e1fa304 to your computer and use it in GitHub Desktop.
Karabiner config for Rectangle HJKL movements
{
"description": "Rectangle HJKL",
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"left_command",
"left_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_command",
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"left_command",
"left_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_command",
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"left_command",
"left_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"left_command",
"left_option"
]
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"left_command",
"left_option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_command",
"left_option"
]
}
],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment