feat: add karabiner config to replace CapsLock with alt/meh
This commit is contained in:
parent
20449c4c87
commit
5b33de8af4
1 changed files with 52 additions and 0 deletions
52
.config/karabiner/karabiner.json
Normal file
52
.config/karabiner/karabiner.json
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"profiles": [
|
||||
{
|
||||
"complex_modifications": {
|
||||
"rules": [
|
||||
{
|
||||
"description": "Caps Lock to Shift+Ctrl+Option (meh) on short hold, Alt on long hold",
|
||||
"manipulators": [
|
||||
{
|
||||
"from": { "key_code": "caps_lock" },
|
||||
"to": {
|
||||
"key_code": "right_control",
|
||||
"modifiers": ["left_option", "left_shift"]
|
||||
},
|
||||
"to_if_held_down": { "key_code": "left_option" },
|
||||
"type": "basic"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"fn_function_keys": [
|
||||
{
|
||||
"from": { "key_code": "f3" },
|
||||
"to": [{ "key_code": "mission_control" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "f4" },
|
||||
"to": [{ "key_code": "launchpad" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "f5" },
|
||||
"to": [{ "key_code": "illumination_decrement" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "f6" },
|
||||
"to": [{ "key_code": "illumination_increment" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "f9" },
|
||||
"to": [{ "consumer_key_code": "fastforward" }]
|
||||
}
|
||||
],
|
||||
"name": "Default profile",
|
||||
"selected": true,
|
||||
"virtual_hid_keyboard": {
|
||||
"country_code": 0,
|
||||
"keyboard_type_v2": "ansi"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue