Skip to content

Instantly share code, notes, and snippets.

@ktakayama
Created July 3, 2017 01:10
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 ktakayama/9387457e53dbcc381c9bd7f961cea186 to your computer and use it in GitHub Desktop.
Save ktakayama/9387457e53dbcc381c9bd7f961cea186 to your computer and use it in GitHub Desktop.
英数・カナキーをコマンドキーにする
{
"title": "英数・カナキーをコマンドキーにする",
"rules": [
{
"description": "英数・かなキーを単体で押したときに、コマンドキーキーを送信する。",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "japanese_eisuu",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_command"
}
],
"to_if_alone": [
{
"key_code": "japanese_eisuu"
}
]
},
{
"type": "basic",
"from": {
"key_code": "japanese_kana",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_command"
}
],
"to_if_alone": [
{
"key_code": "japanese_kana"
}
]
}
]
}
]
}
@ktakayama
Copy link
Author

ktakayama commented Jul 3, 2017

Karabiner Elements で日本語キーボードの英数・カナキーを単独で押した時にコマンドキーとして送信します。

↓ このURLをブラウザにコピペして貼り付けたらインポートできます。
karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fgist.githubusercontent.com%2Fktakayama%2F9387457e53dbcc381c9bd7f961cea186%2Fraw%2F0538fcfd7520d5bf2190912ff6961317e02d449e%2Fjapanese_command.json

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