Open3

Karabiner-Elementsの設定メモ

DANDAN
{
    "description": "Ctrl+D to Ctrl+B",
    "manipulators": [
        {
            "from": {
                "key_code": "d",
                "modifiers": {
                    "mandatory": [
                        "control"
                    ],
                    "optional": [
                        "any"
                    ]
                }
            },
            "to": [
                {
                    "key_code": "b",
                    "modifiers": [
                        "control"
                    ]
                }
            ],
            "type": "basic"
        }
    ]
}
DANDAN

↑デフォルトだと、カーソル位置を左に移動で使うBのキーが、右に移動で使うFのキーより右側にあって直感的じゃないので

DANDAN

/と?を入れ替えた

{
    "description": "/ and shift+/ swap",
    "manipulators": [
        {
            "type": "basic",
            "from": {
                "key_code": "slash",
                "modifiers": {
                    "mandatory": ["shift"],
                    "optional": ["any"]
                }
            },
            "to": [
                {
                    "key_code": "slash"
                }
            ]
        },
        {
            "type": "basic",
            "from": {
                "key_code": "slash",
                "modifiers": {
                    "optional": ["any"]
                }
            },
            "to": [
                {
                    "key_code": "slash",
                    "modifiers": ["shift"]
                }
            ]
        }
    ]
}