首先下载 Karabiner-Elements
在【Complex Modifications】中选择【Add your own rule】添加自定义规则
Win 中左手控制鼠标的用户的复制、粘贴快捷键: 【操作方法】在编辑文本时按【Shift+Delete】键执行剪切操作,按 【Ctrl+Insert】键执行复制操作,按【Shift+Insert】键执行粘贴操作。我们也按照此规则。
两条规则 JSON 如下:
{
"description": "Right Shift + Insert to Paste",
"manipulators": [
{
"from": {
"key_code": "insert",
"modifiers": { "mandatory": ["right_shift"] }
},
"to": [
{
"key_code": "v",
"modifiers": ["left_command"]
}
],
"type": "basic"
}
]
}
{
"description": "Right Ctrl + Insert to Copy",
"manipulators": [
{
"from": {
"key_code": "insert",
"modifiers": { "mandatory": ["right_control"] }
},
"to": [
{
"key_code": "c",
"modifiers": ["left_command"]
}
],
"type": "basic"
}
]
}