日々の記録

アニメと読書の感想をメインにしたブログです。 ☆ゆるゆるっと更新中です☆

Top Page › コンピュータ › Mac › Karabiner-ElementsでMacの日本語IMのキー割り当てを変更する
2023-03-21 (Tue) 16:55

Karabiner-ElementsでMacの日本語IMのキー割り当てを変更する

これまでMacでの日本語入力には、ATOKを使ってきました。しかし最近、動作はキビキビしているけれどメモリを食うこと。頻繁にライセンス認証を要求されること。などが気になって、久しぶりにMac標準の日本語IMを使ってみました。

Macの日本語IMの売りのライブ変換は、微妙な入力の遅延が気になりましたが、ライブ変換をオフにしたら思ったよりも使い勝手がよかったので、乗り換えてみました。キー割り当ては、Windows風にする設定もありますが、標準設定の方がEmacs風のキー割当になっていたので、Karabiner-Elementsでこちらのキーを変更して使うことにしました。

以下、その設定です。半角英数変換は、ATOKではC-pに割り当てられていましたが、変換候補を選択する時に、C-nとC-pを使いたいので、C-lに割り当てました。これでかなり使い勝手がよくなりました!(^^)

{
"title": "Change Japanese IM Keybinds",
"rules": [
{
"description": "C-g エスケープ",
"manipulators": [
{
"conditions": [
{
"type": "input_source_if",
"input_sources": [
{
"language": "^ja$"
}
]
}
],
"from": {
"key_code": "g",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
},
{
"description": "C-u ひらがな変換",
"manipulators": [
{
"conditions": [
{
"type": "input_source_if",
"input_sources": [
{
"language": "^ja$"
}
]
}
],
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "f6"
}
],
"type": "basic"
}
]
},
{
"description": "C-i カタカナ変換",
"manipulators": [
{
"conditions": [
{
"type": "input_source_if",
"input_sources": [
{
"language": "^ja$"
}
]
}
],
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "f7"
}
],
"type": "basic"
}
]
},
{
"description": "C-o 全角英数変換",
"manipulators": [
{
"conditions": [
{
"type": "input_source_if",
"input_sources": [
{
"language": "^ja$"
}
]
}
],
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "f9"
}
],
"type": "basic"
}
]
},
{
"description": "C-l 半角英数変換",
"manipulators": [
{
"conditions": [
{
"type": "input_source_if",
"input_sources": [
{
"language": "^ja$"
}
]
}
],
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "f8"
}
],
"type": "basic"
}
]
}
]
}

最終更新日 : 2023-04-01

Comment