- macOS Catalina
macのキーバインドを定義できるKarabiner-Elementsを入れました。
設定を記述するのに、JSONより簡単に記述できるGokuを使おうと思っています。
Gokuの設定ファイルにて以下のような記述をしてみたのですが、一番下に記述した「Ctrl-[(open_bracket)を押した時に同時に英数キーも送信する」設定だけがうまく反映されません。
{:main [ {:des "Ctrl-m to CR" :rules [[:!Tm :return_or_enter]]} {:des "Ctrl-p to Up" :rules [[:!Tp :up_arrow]]} {:des "Ctrl-n to Down" :rules [[:!Tn :down_arrow]]} {:des "Esc add japanese_eisuu" :rules [[:escape [:escape :japanese_eisuu]]]} {:des "Opt-Space add japanese_eisuu" :rules [[:!Ospacebar [:!Ospacebar :japanese_eisuu]]]} {:des "Ctrl-[ add japanese_eisuu" :rules [[:!Topen_bracket [:!Topen_bracket :japanese_eisuu]]]} ]}
これはなぜうまく反映されていないのでしょうか?また、どうしたらうまく反映されるようになりますか?
(ちなみに現状、該当部分は以下のようなJSONに変換されています)
json
1 "description" : "Ctrl-[ add japanese_eisuu", 2 "manipulators" : [ { 3 "from" : { 4 "key_code" : "open_bracket", 5 "modifiers" : { 6 "mandatory" : [ "left_control" ] 7 } 8 }, 9 "to" : [ { 10 "key_code" : "open_bracket", 11 "modifiers" : [ "left_control" ] 12 }, { 13 "key_code" : "japanese_eisuu" 14 } ], 15 "type" : "basic" 16 } ] 17 }
参考
Gokuの資料
あなたの回答
tips
プレビュー