Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save eidantoei/ce2753a9416b5fe4c11d04a9535abd72 to your computer and use it in GitHub Desktop.
Save eidantoei/ce2753a9416b5fe4c11d04a9535abd72 to your computer and use it in GitHub Desktop.
Karabiner-Elements Complex Modifications: Change Command Key to EISUU/KANA
{
"title": "Change Command Key to EISUU/KANA",
"rules": [
{
"description": "Post EISUU/KANA if Command_L/Command_R is pressed alone.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_command"
}
],
"to_if_alone": [
{
"select_input_source": {
"language": "en"
}
}
]
},
{
"type": "basic",
"from": {
"key_code": "right_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_command"
}
],
"to_if_alone": [
{
"select_input_source": {
"input_mode_id": "com.apple.inputmethod.Japanese"
}
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment