Last active
August 13, 2018 19:08
-
-
Save jlnr/abc4464131d3dfac26359f9faa6c8ee8 to your computer and use it in GitHub Desktop.
My Karabiner settings to make Caps Lock useful on a German keyboard (drop into .config/karabiner/assets/complex_modifications/)
This file contains 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": "My Karabiner settings to make Caps Lock useful on a German keyboard", | |
"rules": [{ | |
"description": "Map Caps Lock to {, and Shift-Caps Lock to }", | |
"manipulators": [{ | |
"type": "basic", | |
"from": { "key_code": "caps_lock", "modifiers": {} }, | |
"to": [{ "key_code": "8", "modifiers": ["left_option"] }] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "caps_lock", "modifiers": { "mandatory": ["left_shift"] } }, | |
"to": [{ "key_code": "9", "modifiers": ["left_option"] }] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "caps_lock", "modifiers": { "mandatory": ["right_shift"] } }, | |
"to": [{ "key_code": "9", "modifiers": ["left_option"] }] | |
}] | |
}, | |
{ | |
"description": "Map Option-Caps Lock to [, and Shift-Option-Caps Lock to ]", | |
"manipulators": [{ | |
"type": "basic", | |
"from": { "key_code": "caps_lock", "modifiers": { "mandatory": ["left_option"] } }, | |
"to": [{ "key_code": "5", "modifiers": ["left_option"] }] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "caps_lock", "modifiers": { "mandatory": ["right_option"] } }, | |
"to": [{ "key_code": "5", "modifiers": ["left_option"] }] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "caps_lock", "modifiers": { "mandatory": ["left_shift", "left_option"] } }, | |
"to": [{ "key_code": "6", "modifiers": ["left_option"] }] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "caps_lock", "modifiers": { "mandatory": ["right_shift", "right_option"] } }, | |
"to": [{ "key_code": "6", "modifiers": ["left_option"] }] | |
}] | |
}, | |
{ | |
"description": "Allow locking the screen with Ctrl-Shift-Backspace (instead of Eject)", | |
"manipulators": [{ | |
"type": "basic", | |
"from": { "key_code": "delete_or_backspace", "modifiers": { "mandatory": ["left_control", "left_shift"] } }, | |
"to": [{ "key_code": "eject", "modifiers": ["left_control", "left_shift"] } ] | |
}] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment