lawcc
V2EX  ›  问与答

Raycast 按 ESC 退出

  •  
  •   lawcc · Jan 25, 2023 · 1337 views
    This topic created in 1206 days ago, the information mentioned may be changed or developed.

    请问 Raycast 可以改成按 ESC 退出,CMD+ESC 为返回上一级菜单吗?

    谢谢

    lawcc
        1
    lawcc  
    OP
       Jan 25, 2023
    试着写了一下 Karabiner ,但不太好使,感觉是 conditions 的问题
    ```
    {
    "description": "Raycast ESC to cmd+w",
    "manipulators": [
    {
    "from": {
    "key_code": "escape"
    },
    "to": [
    {
    "key_code": "w",
    "modifiers": [
    "command"
    ]
    }
    ],
    "conditions": [
    {
    "type": "frontmost_application_if",
    "bundle_identifiers": [
    "^com\\.raycast\\.macos$"
    ]
    }
    ],
    "type": "basic"
    }
    ]
    }
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2992 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 05:09 · PVG 13:09 · LAX 22:09 · JFK 01:09
    ♥ Do have faith in what you're doing.