Last active
October 25, 2021 15:53
-
-
Save cokert/45d1ef2b555507fbb3e7a84f1171c7a9 to your computer and use it in GitHub Desktop.
Custom Karibiner mods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "TimTom's Mods", | |
"rules": [ | |
{ | |
"description": "Cmd+D == Cmd+L in Chrome Firefox and Safari", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"left_gui" | |
] | |
}, | |
"key_code": "d" | |
}, | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"org.mozilla.firefox", | |
"com.google.Chrome", | |
"com.apple.Safari" | |
] | |
} | |
], | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "l", | |
"modifiers": [ | |
"left_gui" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Cmd+Tab > Ctrl+Space in Firefox", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
}, | |
"key_code": "tab" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control" | |
] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"description": "", | |
"bundle_identifiers": [ | |
"org.mozilla.firefox" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"left_shift" | |
] | |
}, | |
"key_code": "tab" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"key_code": "spacebar", | |
"modifiers": [ | |
"left_control", | |
"left_shift" | |
] | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"description": "", | |
"bundle_identifiers": [ | |
"org.mozilla.firefox" | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "cmd+q to cmd+w ", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"left_gui" | |
] | |
}, | |
"key_code": "q" | |
}, | |
"to": [ | |
{ | |
"repeat": true, | |
"modifiers": [ | |
"left_gui" | |
], | |
"key_code": "w" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "cmd+shift+q to cmd+w", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"modifiers": { | |
"mandatory": [ | |
"left_gui", | |
"left_shift" | |
] | |
}, | |
"key_code": "q" | |
}, | |
"to": [ | |
{ | |
"repeat": false, | |
"key_code": "q", | |
"modifiers": [ | |
"left_gui" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added mapping for cmd+q to cmd+w and cmd+shift+q to cmd+q. I've accidentally hit cmd+q too many times to count.