LoginSignup
4
4

More than 5 years have passed since last update.

ある意味自分用のKarabiner-Elements設定

Posted at

本日ようやくHigh Sierraにしたので、Karabinerから、Karabiner-Elementsに変更。

色々な方々が、設定方法を記載してくださっていたので感謝です。
自分用?っというかぱっと欲しかった設定がなかったので、さらさらと自分用に書いて見たのを公開。

こちらの記事がとても詳しく書かれています

macでこんな設定したら怒られそうですが、親指でCommand押すよりも小指でControl押したいねん。


{
    "title": "Macのキーバインド変更(CommandをCtrlに一部変更(コピーやら))",
    "rules": [{
            "description": "コピー copy (ctrl + c)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "c",
                        "modifiers": {"mandatory": ["control"]}
                    },
                    "to":[{
                        "key_code": "c",
                        "modifiers": ["command"]
                    }]
                }
            ]
        },
        {
            "description": "貼付け paste (ctrl + v)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "v",
                        "modifiers": {"mandatory": ["control"]}
                    },
                    "to":[{
                        "key_code": "v",
                        "modifiers": ["command"]
                    }]
                }
            ]
        },
        {
            "description": "元に戻す undo (ctrl + z)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "z",
                        "modifiers": {"mandatory": ["control"]}
                    },
                    "to":[{
                        "key_code": "z",
                        "modifiers": ["command"]
                    }]
                }
            ]
        },
        {
            "description": "元に戻す取消 redo (ctrl + y)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "y",
                        "modifiers": {"mandatory": ["control"]}
                    },
                    "to":[{
                        "key_code": "z",
                        "modifiers": ["command", "shift"]
                    }]
                }
            ]
        },
        {
            "description": "保存 save (ctrl + s)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "s",
                        "modifiers": {"mandatory": ["control"]}
                    },
                    "to":[{
                        "key_code": "s",
                        "modifiers": ["command"]
                    }]
                }
            ]
        },
        {
            "description": "全選択 select all (ctrl + s)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "a",
                        "modifiers": {"mandatory": ["control"]}
                    },
                    "to":[{
                        "key_code": "a",
                        "modifiers": ["command"]
                    }]
                }
            ]
        },
        {
            "description": "左移動 move left (ctrl + leftkey)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "left_arrow",
                        "modifiers": {"mandatory": ["control"]}
                    },
                    "to":[{
                        "key_code": "left_arrow",
                        "modifiers": ["command"]
                    }]
                }
            ]
        },
        {
            "description": "左選択 select left (ctrl + shift + leftkey)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "left_arrow",
                        "modifiers": {"mandatory": ["control", "shift"]}
                    },
                    "to":[{
                        "key_code": "left_arrow",
                        "modifiers": ["command", "shift"]
                    }]
                }
            ]
        },
        {
            "description": "右移動 move right (ctrl + rightkey)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "right_arrow",
                        "modifiers": {"mandatory": ["control"]}
                    },
                    "to":[{
                        "key_code": "right_arrow",
                        "modifiers": ["command"]
                    }]
                }
            ]
        },
        {
            "description": "右選択 select right (ctrl + shift + rightkey)",
            "manipulators": [{
                    "type": "basic",
                    "from": {
                        "key_code": "right_arrow",
                        "modifiers": {"mandatory": ["control", "shift"]}
                    },
                    "to":[{
                        "key_code": "right_arrow",
                        "modifiers": ["command", "shift"]
                    }]
                }
            ]
        }
    ]
}
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4