dotfiles/.config/karabiner/karabiner.json

50 lines
1.8 KiB
JSON
Raw Permalink Normal View History

2024-03-24 13:39:51 -04:00
{
2024-11-01 09:15:14 -04:00
"global": { "show_in_menu_bar": false },
2024-03-24 13:39:51 -04:00
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "Change caps_lock to control if pressed with other keys, to escape if pressed alone.",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
2024-11-01 09:15:14 -04:00
"modifiers": { "optional": ["any"] }
2024-03-24 13:39:51 -04:00
},
2024-11-01 09:15:14 -04:00
"to": [{ "key_code": "left_control" }],
"to_if_alone": [{ "key_code": "escape" }],
2024-03-24 13:39:51 -04:00
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 20548,
"vendor_id": 12815
},
"simple_modifications": [
{
2024-11-01 09:15:14 -04:00
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
2024-03-24 13:39:51 -04:00
},
{
2024-11-01 09:15:14 -04:00
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }]
2024-03-24 13:39:51 -04:00
}
]
}
],
"name": "Default profile",
"selected": true,
"virtual_hid_keyboard": {
"country_code": 0,
2024-11-01 09:15:14 -04:00
"keyboard_type_v2": "ansi"
2024-03-24 13:39:51 -04:00
}
}
]
}