Skip to content

Instantly share code, notes, and snippets.

@IlyasYOY
Created September 27, 2024 21:40
Show Gist options
  • Save IlyasYOY/540a97f126c26f4b3855e2ffb44f0d36 to your computer and use it in GitHub Desktop.
Save IlyasYOY/540a97f126c26f4b3855e2ffb44f0d36 to your computer and use it in GitHub Desktop.
karabiner-home-row-mods
{
"description": "Home row mods - cmd, opt, ctrl, shift",
"manipulators": [
{
"from": {
"simultaneous": [
{
"key_code": "s"
},
{
"key_code": "d"
},
{
"key_code": "f"
},
{
"key_code": "g"
}
]
},
"to_if_held_down": [
{
"key_code": "left_shift",
"modifiers": ["left_control", "left_option", "left_command"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "s"
},
{
"key_code": "d"
},
{
"key_code": "f"
}
]
},
"to_if_held_down": [
{
"key_code": "left_command",
"modifiers": ["left_control", "left_option"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "s"
},
{
"key_code": "f"
},
{
"key_code": "g"
}
]
},
"to_if_held_down": [
{
"key_code": "left_shift",
"modifiers": ["left_control", "left_command"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "f"
},
{
"key_code": "g"
}
]
},
"to_if_held_down": [
{
"key_code": "left_option",
"modifiers": ["left_control", "left_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "s"
},
{
"key_code": "d"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "s"
},
{
"key_code": "d"
}
],
"to_if_held_down": [
{
"key_code": "left_command",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "s"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "d"
},
{
"key_code": "s"
}
],
"to_if_held_down": [
{
"key_code": "left_command",
"modifiers": ["left_option"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "s"
},
{
"key_code": "f"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "s"
},
{
"key_code": "f"
}
],
"to_if_held_down": [
{
"key_code": "left_command",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "f"
},
{
"key_code": "s"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "f"
},
{
"key_code": "s"
}
],
"to_if_held_down": [
{
"key_code": "left_command",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "s"
},
{
"key_code": "g"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "s"
},
{
"key_code": "g"
}
],
"to_if_held_down": [
{
"key_code": "left_command",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "g"
},
{
"key_code": "s"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "g"
},
{
"key_code": "s"
}
],
"to_if_held_down": [
{
"key_code": "left_command",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "f"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "d"
},
{
"key_code": "f"
}
],
"to_if_held_down": [
{
"key_code": "left_option",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "f"
},
{
"key_code": "d"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "f"
},
{
"key_code": "d"
}
],
"to_if_held_down": [
{
"key_code": "left_option",
"modifiers": ["left_control"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "d"
},
{
"key_code": "g"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "d"
},
{
"key_code": "g"
}
],
"to_if_held_down": [
{
"key_code": "left_option",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "g"
},
{
"key_code": "d"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "g"
},
{
"key_code": "d"
}
],
"to_if_held_down": [
{
"key_code": "left_option",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "f"
},
{
"key_code": "g"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "f"
},
{
"key_code": "g"
}
],
"to_if_held_down": [
{
"key_code": "left_control",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "g"
},
{
"key_code": "f"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "g"
},
{
"key_code": "f"
}
],
"to_if_held_down": [
{
"key_code": "left_control",
"modifiers": ["left_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "s"
},
"to_delayed_action": {
"to_if_canceled": [
{
"key_code": "s"
}
],
"to_if_invoked": [
{
"key_code": "vk_none"
}
]
},
"to_if_alone": [
{
"halt": true,
"key_code": "s"
}
],
"to_if_held_down": [
{
"halt": true,
"key_code": "left_command"
}
],
"type": "basic"
},
{
"from": {
"key_code": "d"
},
"to_delayed_action": {
"to_if_canceled": [
{
"key_code": "d"
}
],
"to_if_invoked": [
{
"key_code": "vk_none"
}
]
},
"to_if_alone": [
{
"halt": true,
"key_code": "d"
}
],
"to_if_held_down": [
{
"halt": true,
"key_code": "left_option"
}
],
"type": "basic"
},
{
"from": {
"key_code": "f"
},
"to_delayed_action": {
"to_if_canceled": [
{
"key_code": "f"
}
],
"to_if_invoked": [
{
"key_code": "vk_none"
}
]
},
"to_if_alone": [
{
"halt": true,
"key_code": "f"
}
],
"to_if_held_down": [
{
"halt": true,
"key_code": "left_control"
}
],
"type": "basic"
},
{
"from": {
"key_code": "g"
},
"to_delayed_action": {
"to_if_canceled": [
{
"halt": true,
"key_code": "g"
}
],
"to_if_invoked": [
{
"key_code": "vk_none"
}
]
},
"to_if_alone": [
{
"halt": true,
"key_code": "g"
}
],
"to_if_held_down": [
{
"halt": true,
"key_code": "left_shift"
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "h"
},
{
"key_code": "j"
},
{
"key_code": "k"
},
{
"key_code": "l"
}
]
},
"to_if_held_down": [
{
"key_code": "right_shift",
"modifiers": ["right_control", "right_option", "right_command"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "l"
},
{
"key_code": "k"
},
{
"key_code": "j"
}
]
},
"to_if_held_down": [
{
"key_code": "right_shift",
"modifiers": ["right_option", "right_command"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "l"
},
{
"key_code": "j"
},
{
"key_code": "h"
}
]
},
"to_if_held_down": [
{
"key_code": "right_shift",
"modifiers": ["right_control", "right_option"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "k"
},
{
"key_code": "j"
},
{
"key_code": "h"
}
]
},
"to_if_held_down": [
{
"key_code": "right_command",
"modifiers": ["right_control", "right_option"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "l"
},
{
"key_code": "k"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "l"
},
{
"key_code": "k"
}
],
"to_if_held_down": [
{
"key_code": "right_command",
"modifiers": ["right_option"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "k"
},
{
"key_code": "l"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "k"
},
{
"key_code": "l"
}
],
"to_if_held_down": [
{
"key_code": "right_command",
"modifiers": ["right_option"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "l"
},
{
"key_code": "j"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "l"
},
{
"key_code": "j"
}
],
"to_if_held_down": [
{
"key_code": "right_command",
"modifiers": ["right_control"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "j"
},
{
"key_code": "l"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "j"
},
{
"key_code": "l"
}
],
"to_if_held_down": [
{
"key_code": "right_command",
"modifiers": ["right_control"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "l"
},
{
"key_code": "h"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "l"
},
{
"key_code": "h"
}
],
"to_if_held_down": [
{
"key_code": "right_command",
"modifiers": ["right_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "h"
},
{
"key_code": "l"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "h"
},
{
"key_code": "l"
}
],
"to_if_held_down": [
{
"key_code": "right_command",
"modifiers": ["right_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "k"
},
{
"key_code": "j"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "k"
},
{
"key_code": "j"
}
],
"to_if_held_down": [
{
"key_code": "right_option",
"modifiers": ["right_control"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "j"
},
{
"key_code": "k"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "j"
},
{
"key_code": "k"
}
],
"to_if_held_down": [
{
"key_code": "right_option",
"modifiers": ["right_control"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "k"
},
{
"key_code": "h"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "k"
},
{
"key_code": "h"
}
],
"to_if_held_down": [
{
"key_code": "right_option",
"modifiers": ["right_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "h"
},
{
"key_code": "k"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "h"
},
{
"key_code": "k"
}
],
"to_if_held_down": [
{
"key_code": "right_option",
"modifiers": ["right_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "j"
},
{
"key_code": "h"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "j"
},
{
"key_code": "h"
}
],
"to_if_held_down": [
{
"key_code": "right_control",
"modifiers": ["right_shift"]
}
],
"type": "basic"
},
{
"from": {
"simultaneous": [
{
"key_code": "h"
},
{
"key_code": "j"
}
],
"simultaneous_options": {
"key_down_order": "strict"
}
},
"to_if_alone": [
{
"key_code": "h"
},
{
"key_code": "j"
}
],
"to_if_held_down": [
{
"key_code": "right_control",
"modifiers": ["right_shift"]
}
],
"type": "basic"
},
{
"from": {
"key_code": "l"
},
"to_delayed_action": {
"to_if_canceled": [
{
"key_code": "l"
}
],
"to_if_invoked": [
{
"key_code": "vk_none"
}
]
},
"to_if_alone": [
{
"halt": true,
"key_code": "l"
}
],
"to_if_held_down": [
{
"halt": true,
"key_code": "right_command"
}
],
"type": "basic"
},
{
"from": {
"key_code": "k"
},
"to_delayed_action": {
"to_if_canceled": [
{
"key_code": "k"
}
],
"to_if_invoked": [
{
"key_code": "vk_none"
}
]
},
"to_if_alone": [
{
"halt": true,
"key_code": "k"
}
],
"to_if_held_down": [
{
"halt": true,
"key_code": "right_option"
}
],
"type": "basic"
},
{
"from": {
"key_code": "j"
},
"to_delayed_action": {
"to_if_canceled": [
{
"key_code": "j"
}
],
"to_if_invoked": [
{
"key_code": "vk_none"
}
]
},
"to_if_alone": [
{
"halt": true,
"key_code": "j"
}
],
"to_if_held_down": [
{
"halt": true,
"key_code": "right_control"
}
],
"type": "basic"
},
{
"from": {
"key_code": "h"
},
"to_delayed_action": {
"to_if_canceled": [
{
"key_code": "h"
}
],
"to_if_invoked": [
{
"key_code": "vk_none"
}
]
},
"to_if_alone": [
{
"halt": true,
"key_code": "h"
}
],
"to_if_held_down": [
{
"halt": true,
"key_code": "right_shift"
}
],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment