2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Karabiner-Elementsでhhkb風のキーバインドに変更してみた

Last updated at Posted at 2024-12-14

Karabiner-Elements JSON設定の内容

USキーボードの設定です
右シフトを使わないので右シフトを装飾キーにしました

🔥 キーバインド一覧

動作 右Shift + キー JSONのkey_code 変換後のキー
左矢印 (←) ; semicolon left_arrow
上矢印 (↑) [ open_bracket up_arrow
右矢印 (→) ' quote right_arrow
下矢印 (↓) / slash down_arrow
PageUp L l page_up
PageDown . period page_down
Home K k home
End , comma end

📋 JSONファイルの内容

{
    "manipulators": [
        {
            "description": "右Shift + [, ;, ', / を矢印キーにする",
            "from": {
                "key_code": "semicolon",
                "modifiers": { "mandatory": ["right_shift"] }
            },
            "to": [{ "key_code": "left_arrow" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "slash",
                "modifiers": { "mandatory": ["right_shift"] }
            },
            "to": [{ "key_code": "down_arrow" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "quote",
                "modifiers": { "mandatory": ["right_shift"] }
            },
            "to": [{ "key_code": "right_arrow" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "open_bracket",
                "modifiers": { "mandatory": ["right_shift"] }
            },
            "to": [{ "key_code": "up_arrow" }],
            "type": "basic"
        },
        {
            "description": "右Shift + L, ., K, , を PageUp, PageDown, Home, End に変更する",
            "from": {
                "key_code": "l",
                "modifiers": { "mandatory": ["right_shift"] }
            },
            "to": [{ "key_code": "page_up" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "period",
                "modifiers": { "mandatory": ["right_shift"] }
            },
            "to": [{ "key_code": "page_down" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "k",
                "modifiers": { "mandatory": ["right_shift"] }
            },
            "to": [{ "key_code": "home" }],
            "type": "basic"
        },
        {
            "from": {
                "key_code": "comma",
                "modifiers": { "mandatory": ["right_shift"] }
            },
            "to": [{ "key_code": "end" }],
            "type": "basic"
        }
    ]
}
2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?