0
2

More than 5 years have passed since last update.

Karabiner-Elementにてwindowsのように角全角キーで英数かなをトグルできるように

Posted at

目的

windows上がりの人には、
半角全角キーにて英数、かなを切り替えられたほうが嬉しい場合もあるので。

設定例

半角全角位置のキー割当を英数にします。

{
    "from": {
        "key_code": "grave_accent_and_tilde"
    },
    "to": {
        "key_code": "japanese_eisuu"
    }
}

条件付き入力設定をします。

  "title": "自分用の設定",
  "rules": [
    {
      "description": "半角全角キーで英数かなをトグルできるようにします",
      "manipulators": [
        {
          "type": "basic",
          "description": "入力ソースが英字の場合、ひらがなにする(入力ソース>がひらがなの場合、上書きの必要なし)",
          "from": { "key_code": "japanese_eisuu" },
          "to": [ { "key_code": "japanese_kana" } ],
          "conditions": [
            {
              "type": "input_source_if",
              "input_sources": [ { "language": "en" } ]
            }
          ]
        }
      ]
    }
  ]
}
0
2
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
0
2