summaryrefslogtreecommitdiff
path: root/mac/.config/karabiner/karabiner.json
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/karabiner/karabiner.json')
-rw-r--r--mac/.config/karabiner/karabiner.json177
1 files changed, 82 insertions, 95 deletions
diff --git a/mac/.config/karabiner/karabiner.json b/mac/.config/karabiner/karabiner.json
index 4a98cea..c689d0b 100644
--- a/mac/.config/karabiner/karabiner.json
+++ b/mac/.config/karabiner/karabiner.json
@@ -1,99 +1,86 @@
{
- "profiles": [
- {
- "complex_modifications": {
- "rules": [
- {
- "description": "R_ALT to switch input languages as it is in Windows (especially Korean)",
- "manipulators": [
- {
- "from": {
- "key_code": "right_alt"
- },
- "to": [
- {
- "key_code": "spacebar",
- "lazy": true,
- "modifiers": [
- "left_control",
- "left_alt"
- ],
- "repeat": false
- }
- ],
- "type": "basic"
- }
- ]
- },
- {
- "description": "Tap Caps Lock for ESC or Hold for Control",
- "manipulators": [
- {
- "from": {
- "key_code": "caps_lock",
- "modifiers": {
- "optional": [
- "any"
- ]
- }
- },
- "to": [
- {
- "key_code": "left_control",
- "lazy": true
- }
- ],
- "to_if_alone": [
- {
- "key_code": "escape"
- }
- ],
- "type": "basic"
- }
- ]
- }
- ]
- },
- "devices": [
- {
- "identifiers": {
- "is_pointing_device": true,
- "product_id": 24585,
- "vendor_id": 6127
- },
- "ignore": false,
- "ignore_vendor_events": true,
- "pointing_motion_wheels_multiplier": 3.0,
- "pointing_motion_xy_multiplier": 5.0
- },
+ "profiles": [
{
- "identifiers": {
- "is_keyboard": true,
- "product_id": 24585,
- "vendor_id": 6127
- },
- "ignore_vendor_events": true
- }
- {
- "identifiers": { "is_keyboard": true },
- "simple_modifications": [
- {
- "from": { "key_code": "left_command" },
- "to": [{ "key_code": "left_option" }]
+ "complex_modifications": {
+ "rules": [
+ {
+ "description": "R_ALT to switch input languages as it is in Windows (especially Korean)",
+ "manipulators": [
+ {
+ "from": { "key_code": "right_alt" },
+ "to": [
+ {
+ "key_code": "spacebar",
+ "lazy": true,
+ "modifiers": ["left_control", "left_alt"],
+ "repeat": false
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Disable Cmd+H Hide (rev 2)",
+ "manipulators": [
+ {
+ "description": "",
+ "from": {
+ "key_code": "h",
+ "modifiers": { "mandatory": ["command"] }
+ },
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Tap Caps Lock for ESC or Hold for Control",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "caps_lock",
+ "modifiers": { "optional": ["any"] }
+ },
+ "to": [
+ {
+ "key_code": "left_control",
+ "lazy": true
+ }
+ ],
+ "to_if_alone": [{ "key_code": "escape" }],
+ "type": "basic"
+ }
+ ]
+ }
+ ]
},
- {
- "from": { "key_code": "left_option" },
- "to": [{ "key_code": "left_command" }]
- }
- ]
+ "devices": [
+ {
+ "identifiers": { "is_keyboard": true },
+ "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,
+ "is_pointing_device": true,
+ "product_id": 28,
+ "vendor_id": 12994
+ },
+ "ignore": false
+ }
+ ],
+ "name": "Default profile",
+ "selected": true,
+ "virtual_hid_keyboard": { "keyboard_type_v2": "ansi" }
}
- ],
- "name": "Default profile",
- "selected": true,
- "virtual_hid_keyboard": {
- "country_code": 0,
- "keyboard_type_v2": "ansi"
- }
- }
- ]
-}
+ ]
+} \ No newline at end of file