summaryrefslogtreecommitdiff
path: root/mac/.config/karabiner/automatic_backups/karabiner_20251016.json
blob: da84eeb6e9791c2579266eee69a4529849016151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
    "profiles": [
        {
            "complex_modifications": {
                "rules": [
                    {
                        "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"
                            }
                        ]
                    },
                    {
                        "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"
                            }
                        ]
                    }
                ]
            },
            "name": "Default profile",
            "selected": true
        }
    ]
}