- 安装 Karabiner
2.输入法设置成 德沃夏克 和 简体拼音
-
Karabiner 将 Capslocks 替换成 left_control
-
设置shift单独按时切换输入法
{
"title": "Change caps_lock key",
"rules": [
{
"description": "Post left_shift if caps_loc is pressed alone.",
"manipulators": [
{
"type": "basic",
"from": { "key_code": "left_shift", "modifiers": { "optional": [ "any" ] } },
"to": [ { "key_code": "left_shift" } ],
"to_if_alone": [ { "key_code": "caps_lock" } ] } ]
}
]
}
参考
karabiner.json Reference Manual - Karabiner - Software for macOS
网友评论