Skip to content

Instantly share code, notes, and snippets.

@keiji
Created June 9, 2020 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keiji/ac6dd8b03e6730e45f37f896b9635e3e to your computer and use it in GitHub Desktop.
Save keiji/ac6dd8b03e6730e45f37f896b9635e3e to your computer and use it in GitHub Desktop.
Happy Hacking Keyboardのキー割り当てに挙動を合わせるKarabiner Elementsの設定
{
"title": "日本語環境向けの設定(HHKB)",
"rules": [
{
"description": "Fn + コマンドキーを押したときに、英数・かなキーを送信する。(左コマンドキーは英数、右コマンドキーはかな)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_command",
"modifiers": { "mandatory": [ "fn" ] }
},
"to": [
{
"key_code": "japanese_eisuu"
}
]
},
{
"type": "basic",
"from": {
"key_code": "right_command",
"modifiers": { "mandatory": [ "fn" ] }
},
"to": [
{
"key_code": "japanese_kana"
}
]
}
]
}
]
}
@keiji
Copy link
Author

keiji commented Jun 9, 2020

~/.config/karabiner/assets/complex_modifications に配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment