New config of karabinier

This commit is contained in:
Marcin Woźniak 2022-11-21 22:21:07 +01:00
parent f1e4968363
commit d47dfa3a30
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -23,12 +23,8 @@
"from": { "from": {
"key_code": "h", "key_code": "h",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["right_command"],
"right_command" "optional": ["any"]
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -42,12 +38,8 @@
"from": { "from": {
"key_code": "j", "key_code": "j",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["right_command"],
"right_command" "optional": ["any"]
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -61,12 +53,8 @@
"from": { "from": {
"key_code": "k", "key_code": "k",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["right_command"],
"right_command" "optional": ["any"]
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -80,12 +68,8 @@
"from": { "from": {
"key_code": "l", "key_code": "l",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["right_command"],
"right_command" "optional": ["any"]
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -102,14 +86,10 @@
"manipulators": [ "manipulators": [
{ {
"from": { "from": {
"key_code": "k", "key_code": "j",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_control", "left_shift"],
"fn" "optional": ["any"]
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -123,14 +103,10 @@
}, },
{ {
"from": { "from": {
"key_code": "j", "key_code": "k",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_control", "left_shift"],
"fn" "optional": ["any"]
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -146,12 +122,8 @@
"from": { "from": {
"key_code": "h", "key_code": "h",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["fn"],
"fn" "optional": ["any"]
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -167,12 +139,8 @@
"from": { "from": {
"key_code": "l", "key_code": "l",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["fn"],
"fn" "optional": ["any"]
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -188,13 +156,8 @@
"from": { "from": {
"key_code": "u", "key_code": "u",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_option", "left_shift"],
"left_control", "optional": ["any"]
"left_shift"
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -208,13 +171,8 @@
"from": { "from": {
"key_code": "o", "key_code": "o",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_option", "left_shift"],
"left_control", "optional": ["any"]
"left_shift"
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -228,13 +186,8 @@
"from": { "from": {
"key_code": "h", "key_code": "h",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_option", "left_shift"],
"left_control", "optional": ["any"]
"left_shift"
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -250,13 +203,8 @@
"from": { "from": {
"key_code": "j", "key_code": "j",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_option", "left_shift"],
"left_control", "optional": ["any"]
"left_shift"
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -272,13 +220,8 @@
"from": { "from": {
"key_code": "k", "key_code": "k",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_option", "left_shift"],
"left_control", "optional": ["any"]
"left_shift"
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -294,13 +237,8 @@
"from": { "from": {
"key_code": "l", "key_code": "l",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_option", "left_shift"],
"left_control", "optional": ["any"]
"left_shift"
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -316,13 +254,8 @@
"from": { "from": {
"key_code": "q", "key_code": "q",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_option", "left_shift"],
"left_control", "optional": ["any"]
"left_shift"
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -336,13 +269,8 @@
"from": { "from": {
"key_code": "e", "key_code": "e",
"modifiers": { "modifiers": {
"mandatory": [ "mandatory": ["left_option", "left_shift"],
"left_control", "optional": ["any"]
"left_shift"
],
"optional": [
"any"
]
} }
}, },
"to": [ "to": [
@ -681,6 +609,16 @@
"key_code": "right_command" "key_code": "right_command"
} }
] ]
},
{
"from": {
"key_code": "escape"
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
]
} }
], ],
"treat_as_built_in_keyboard": false "treat_as_built_in_keyboard": false
@ -752,7 +690,28 @@
}, },
"ignore": false, "ignore": false,
"manipulate_caps_lock_led": true, "manipulate_caps_lock_led": true,
"simple_modifications": [], "simple_modifications": [
{
"from": {
"key_code": "right_command"
},
"to": [
{
"key_code": "right_option"
}
]
},
{
"from": {
"key_code": "right_option"
},
"to": [
{
"key_code": "right_command"
}
]
}
],
"treat_as_built_in_keyboard": false "treat_as_built_in_keyboard": false
}, },
{ {
@ -795,16 +754,6 @@
"ignore": false, "ignore": false,
"manipulate_caps_lock_led": true, "manipulate_caps_lock_led": true,
"simple_modifications": [ "simple_modifications": [
{
"from": {
"key_code": "left_option"
},
"to": [
{
"key_code": "right_command"
}
]
},
{ {
"from": { "from": {
"key_code": "left_command" "key_code": "left_command"
@ -814,6 +763,16 @@
"key_code": "left_option" "key_code": "left_option"
} }
] ]
},
{
"from": {
"key_code": "left_option"
},
"to": [
{
"key_code": "right_command"
}
]
} }
], ],
"treat_as_built_in_keyboard": false "treat_as_built_in_keyboard": false
@ -967,6 +926,16 @@
} }
] ]
}, },
{
"from": {
"key_code": "escape"
},
"to": [
{
"key_code": "caps_lock"
}
]
},
{ {
"from": { "from": {
"key_code": "left_command" "key_code": "left_command"