Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

escape + modifiers any doesn't get fn #890

Open
ghost opened this issue Sep 8, 2019 · 0 comments
Open

escape + modifiers any doesn't get fn #890

ghost opened this issue Sep 8, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 8, 2019

I'm trying to stop ESC from un-full-screening in Safari

{
  "title": "Stop ESC exiting Safari full-screen",
  "rules": [
    {
      "description": "Map ESC to ⌘. in Safari.",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "escape",
            "modifiers": {
              "optional": [
                "any"
              ]
            }
          },
          "to": [{
            "key_code": "period",
            "modifiers": "right_command"
          }],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.apple\\.Safari$"
              ]
            }
          ]
        }
      ]
    }
  ]
}

fn + esc still leaves full-screen mode (it isn't re-mapped)

I also tried

"modifiers": {
  "optional": [
    "any",
    "fn"
  ]
}

... didn't make a difference

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants