karabiner/assets/complex_modifications/1505240117.json @ 02f3df2be1e3

Add vim/bundle/simple-scala to .hgignore.
author Steve Losh <steve@stevelosh.com>
date Fri, 19 Jan 2018 20:02:21 +0000
parents 249db9b05441
children (none)
{
    "title": "Shift keys to parentheses",
    "rules": [
        {
            "description": "map left shift to opening parenthesis",
            "manipulators": [
                {
                    "type": "basic",
                    "from": {
                        "key_code": "left_shift",
                        "modifiers": {
                            "optional": [
                                "any"
                            ]
                        }
                    },
                    "to_if_alone": [
                        {
                            "key_code": "9",
                            "modifiers": [
                                "left_shift"
                            ]
                        }
                    ],
                    "to": [
                        {
                            "key_code": "left_shift",
                            "modifiers": []
                        }
                    ]
                }
            ]
        },
        {
            "description": "map right shift to closing parenthesis",
            "manipulators": [
                {
                    "type": "basic",
                    "from": {
                        "key_code": "right_shift",
                        "modifiers": {
                            "optional": [
                                "any"
                            ]
                        }
                    },
                    "to_if_alone": [
                        {
                            "key_code": "0",
                            "modifiers": [
                                "right_shift"
                            ]
                        }
                    ],
                    "to": [
                        {
                            "key_code": "right_shift",
                            "modifiers": []
                        }
                    ]
                }
            ]
        }
    ]
}