0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

KarabinerでCommand + Backquote( ` ) で日本語入力を切替え

Last updated at Posted at 2023-06-18

US配列キーボードをWindowsで長年使ってるんで、日本語入力切替は Alt + Backquote(`) が染み付いている。それをKarabinerで実現。吊るしのセッティングでコマンドキー単体で日本語・英語をトグルで切替える設定なんかも便利なものの、WindowsでUSキーボードを利用する人が多かった人や、自分のように今でも併用している人は、寧ろこっちの方が快適かもしれないな、と。

↓こちらをコピって、/.config/karabiner/assets/complex_modificationsの下にJSONファイルを追加すればOKです。(Ver14.11.0で動作は確認)

sample.json
{
  "title": "Eisuu Kana at Windows by left_command + backquote at Mac",
  "rules": [
    {
      "description": "WindowsのAlt+Backquoteを左コマンドとbackquoteで実現",
      "manipulators": [
        {
          "type": "basic",
          "conditions": [
            {
              "input_sources": [
                {
                  "language": "ja"
                }
              ],
              "type": "input_source_if"
            }
          ],
          "from": {
            "key_code": "grave_accent_and_tilde",
            "modifiers": {
              "mandatory": [
                "left_command"
              ]
            }
          },
          "to": 
           [
            {
              "key_code": "japanese_eisuu"
            }
          ]
        },
        {
          "type": "basic",
          "conditions": [
            {
              "input_sources": [
                {
                  "language": "en "
                }
              ],
              "type": "input_source_if"
            }
          ],
          "from": {
            "key_code": "grave_accent_and_tilde",
            "modifiers": {
              "mandatory": [
                "left_command"
              ]
            }
          },

          "to": [
            {
              "key_code": "japanese_kana"
            }
          ]
        }
      ]
    }
  ]
}
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?