Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cxfksword/60c7777d49050be43bb957bf64a5de03 to your computer and use it in GitHub Desktop.
Save cxfksword/60c7777d49050be43bb957bf64a5de03 to your computer and use it in GitHub Desktop.
Karabiner-Elements 配置-shift切换输入法
{
"title": "Custom",
"rules": [
{
"description": "Right shift to change input method except RDP v1.4",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift"
},
"conditions": [
{
"type": "frontmost_application_unless",
"bundle_identifiers": [
"com\\.microsoft\\.rdc\\.mac"
]
}
],
"to": [
{
"repeat": true,
"lazy": true,
"key_code": "right_shift"
}
],
"to_if_alone": [
{
"repeat": true,
"key_code": "spacebar",
"modifiers": [
"left_control"
]
}
],
"to_if_held_down": [
{
"repeat": true,
"lazy": false,
"key_code": "right_shift",
"halt": false
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment