Skip to content

Instantly share code, notes, and snippets.

@langolf
Last active April 24, 2022 20:22
Show Gist options
  • Save langolf/80a300711eaebd8587d0d0b9fc073a14 to your computer and use it in GitHub Desktop.
Save langolf/80a300711eaebd8587d0d0b9fc073a14 to your computer and use it in GitHub Desktop.
config
{
"rules": [
{
"description": "left_command alone -> ⌘ + tab to last app",
"manipulators": [
{
"from": {
"key_code": "left_command"
},
"to": [
{
"key_code": "left_command"
}
],
"to_if_alone": [
{
"key_code": "tab",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "Semicolon",
"manipulators": [
{
"description": "semicolon = ;(click) | hyper(hold)",
"from": {
"key_code": "semicolon",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "p",
"modifiers": [
"left_command"
]
}
],
"to_if_alone": [
{
"key_code": "semicolon"
}
],
"type": "basic"
},
{
"description": "Default browser ; + 3",
"from": {
"key_code": "3",
"modifiers": {
"mandatory": [
"right_command",
"right_control",
"fn",
"right_option"
]
}
},
"to": [
{
"shell_command": "open -a 'kitty'"
}
],
"type": "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment