mirror of
https://github.com/mikkelsvartveit/dotfiles.git
synced 2025-12-22 11:12:39 +00:00
Update Karabiner
This commit is contained in:
parent
792e3c5eb8
commit
95632a0fd4
3 changed files with 123 additions and 0 deletions
29
karabiner/assets/complex_modifications/uk-backtick.json
Normal file
29
karabiner/assets/complex_modifications/uk-backtick.json
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"title": "Fix backtick on ISO keyboard",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"description": "Fix backtick on ISO keyboard",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"type": "basic",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"type": "input_source_if",
|
||||||
|
"input_sources": [
|
||||||
|
{
|
||||||
|
"language": "en"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": {
|
||||||
|
"key_code": "non_us_backslash"
|
||||||
|
},
|
||||||
|
"to": {
|
||||||
|
"key_code": "grave_accent_and_tilde"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
78
karabiner/automatic_backups/karabiner_20251127.json
Normal file
78
karabiner/automatic_backups/karabiner_20251127.json
Normal file
|
|
@ -0,0 +1,78 @@
|
||||||
|
{
|
||||||
|
"profiles": [
|
||||||
|
{
|
||||||
|
"complex_modifications": {
|
||||||
|
"parameters": { "basic.to_if_alone_timeout_milliseconds": 500 },
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"description": "Post Esc if Caps is tapped, Control if held.",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"from": {
|
||||||
|
"key_code": "left_control",
|
||||||
|
"modifiers": { "optional": ["any"] }
|
||||||
|
},
|
||||||
|
"to": [
|
||||||
|
{
|
||||||
|
"key_code": "left_control",
|
||||||
|
"lazy": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"to_if_alone": [{ "key_code": "escape" }],
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"devices": [
|
||||||
|
{
|
||||||
|
"identifiers": {
|
||||||
|
"is_keyboard": true,
|
||||||
|
"product_id": 45849,
|
||||||
|
"vendor_id": 1133
|
||||||
|
},
|
||||||
|
"simple_modifications": [
|
||||||
|
{
|
||||||
|
"from": { "key_code": "left_command" },
|
||||||
|
"to": [{ "key_code": "left_option" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "left_option" },
|
||||||
|
"to": [{ "key_code": "left_command" }]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"identifiers": {
|
||||||
|
"is_keyboard": true,
|
||||||
|
"product_id": 615,
|
||||||
|
"vendor_id": 76
|
||||||
|
},
|
||||||
|
"simple_modifications": [
|
||||||
|
{
|
||||||
|
"from": { "consumer_key_code": "eject" },
|
||||||
|
"to": [{ "consumer_key_code": "al_terminal_lock_or_screensaver" }]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name": "Default profile",
|
||||||
|
"selected": true,
|
||||||
|
"simple_modifications": [
|
||||||
|
{
|
||||||
|
"from": { "key_code": "caps_lock" },
|
||||||
|
"to": [{ "key_code": "left_control" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "escape" },
|
||||||
|
"to": [{ "key_code": "caps_lock" }]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"virtual_hid_keyboard": {
|
||||||
|
"country_code": 0,
|
||||||
|
"keyboard_type_v2": "ansi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -4,6 +4,22 @@
|
||||||
"complex_modifications": {
|
"complex_modifications": {
|
||||||
"parameters": { "basic.to_if_alone_timeout_milliseconds": 500 },
|
"parameters": { "basic.to_if_alone_timeout_milliseconds": 500 },
|
||||||
"rules": [
|
"rules": [
|
||||||
|
{
|
||||||
|
"description": "Fix backtick on ISO keyboard",
|
||||||
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"input_sources": [{ "language": "en" }],
|
||||||
|
"type": "input_source_if"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"from": { "key_code": "non_us_backslash" },
|
||||||
|
"to": { "key_code": "grave_accent_and_tilde" },
|
||||||
|
"type": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"description": "Post Esc if Caps is tapped, Control if held.",
|
"description": "Post Esc if Caps is tapped, Control if held.",
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue