Last active
January 23, 2018 11:50
-
-
Save sobataro/bf64c0057683a81544119d4a759cb2bd to your computer and use it in GitHub Desktop.
karabiner elements で「英数キー押しっぱなし => Ctrl_L」「かなキー押しっぱなし => Alt_L」を実現する設定ファイル (~/.config/karabiner/assets/complex_modifications/ に置く)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Change japanese_kana", | |
"rules": [ | |
{ | |
"description": "Change japanese_eisuu to left_ctrl if pressed with other keys (Post japanese_eisuu when pressed alone)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "japanese_eisuu", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "japanese_eisuu" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Change japanese_kana to left_option if pressed with other keys (Post japanese_kana when pressed alone)", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "japanese_kana", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "japanese_kana" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment