微信 macOS 版 3.0 版本的时候,换行快捷键是 option 或 command + enter

但微信 4.0 macOS 版, 他们把换行快捷键改了,原本是 option 或 command + enter 都可以,现在只剩下 command + enter

那就用 Karabiner-Elements 改键工具加它回来吧

Karabiner-Elements 规则:

{
    "description": "微信:Option+Enter To Command+Enter",
    "manipulators": [
        {
            "conditions": [
                {
                    "bundle_identifiers": [
                        "^com\\.tencent\\.xinWeChat$"
                    ],
                    "type": "frontmost_application_if"
                }
            ],
            "from": {
                "key_code": "return_or_enter",
                "modifiers": {
                    "mandatory": ["option"],
                    "optional": ["any"]
                }
            },
            "to": [
                {
                    "key_code": "return_or_enter",
                    "modifiers": ["command"]
                }
            ],
            "type": "basic"
        }
    ]
}