G87 默认是 windows 模式,须要同时按下 Fn+Pause 键,切换到 mac 模式,此时 Pause 键的灯会常亮。若是要在 mac 模式下关闭 Pause 键的常亮灯,须要同时按下 Fn+Esc 键。(在 mac 模式下,再单击一下 Pause 键,就能够切换回 windows 模式)git
Change caps_lock to control if pressed with other keys, to escape if pressed alone.
这个规则能够利用,它默认是按了 caps_lock 和其余组合键的时候就把 caps_lock 改成 control,仅仅单击 caps_lock 的时候就改成 esc 键,而咱们的目标就是单击时是 caps_lock,组合的时候是 control第一个修改github
1.路径 |--- ~/.config |--- karabiner |--- assets |--- complex_modifications |--- 1510932793.json 2.内容:找到这条规则,将最后的 escape 改成 caps_lock { "description": "Change caps_lock to control if pressed with other keys, to escape if pressed alone.", "manipulators": [ { "type": "basic", "from": { "key_code": "caps_lock", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "left_control" } ], "to_if_alone": [ { "key_code": "caps_lock" } ] } ] }
第二个修改(主要生效的文件)json
1.路径 |--- ~/.config |--- karabiner |--- karabiner.json 2.内容:找到这条规则,将最后的 escape 改成 caps_lock "rules": [ { "description": "Change caps_lock to control if pressed with other keys, to escape if pressed alone.", "manipulators": [ { "from": { "key_code": "caps_lock", "modifiers": { "optional": [ "any" ] } }, "to": [ { "key_code": "left_control" } ], "to_if_alone": [ { "key_code": "caps_lock" } ], "type": "basic" } ] } ]