V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
lawcc
V2EX  ›  问与答

Raycast 按 ESC 退出

  •  
  •   lawcc · 2023-01-25 16:55:38 +08:00 · 584 次点击
    这是一个创建于 428 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    谢谢

    lawcc
        1
    lawcc  
    OP
       2023-01-25 17:26:12 +08:00
    试着写了一下 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"
    }
    ]
    }
    ```
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5093 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 09:45 · PVG 17:45 · LAX 02:45 · JFK 05:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.