Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created April 26, 2026 18:37
Show Gist options
  • Select an option

  • Save metaskills/7dc01f3bd87d6040596775263f75ad82 to your computer and use it in GitHub Desktop.

Select an option

Save metaskills/7dc01f3bd87d6040596775263f75ad82 to your computer and use it in GitHub Desktop.
Karabiner - Left Command double-tap to Command+Shift+Home
{
"description": "Left Command double-tap to Command+Shift+Home",
"manipulators": [
{
"conditions": [
{
"name": "left_command_pressed_once",
"type": "variable_if",
"value": 1
}
],
"from": { "key_code": "left_command" },
"to": [
{
"key_code": "left_command",
"lazy": true
}
],
"to_if_alone": [
{
"key_code": "home",
"modifiers": ["left_command", "left_shift"]
},
{
"set_variable": {
"name": "left_command_pressed_once",
"value": 0
}
}
],
"type": "basic"
},
{
"conditions": [
{
"name": "left_command_pressed_once",
"type": "variable_if",
"value": 0
}
],
"from": { "key_code": "left_command" },
"to": [
{
"key_code": "left_command",
"lazy": true
}
],
"to_delayed_action": {
"to_if_canceled": [
{
"set_variable": {
"name": "left_command_pressed_once",
"value": 0
}
}
],
"to_if_invoked": [
{
"set_variable": {
"name": "left_command_pressed_once",
"value": 0
}
}
]
},
"to_if_alone": [
{
"set_variable": {
"name": "left_command_pressed_once",
"value": 1
}
}
],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment