Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App specific key mappings not excluded for Spotlight/Alfred #1428

Closed
stupidfive opened this issue Jun 5, 2018 · 1 comment
Closed

App specific key mappings not excluded for Spotlight/Alfred #1428

stupidfive opened this issue Jun 5, 2018 · 1 comment
Labels

Comments

@stupidfive
Copy link

I mapped k/j to up/down arrow keys in Preview.app using "type": "frontmost_application_if". But when Spotlight or Alfred is called when using Preview.app, Preview.app is still the "frontmost application". So now I can't type "karabiner"(with a "k") to the Spotlight/Alfred text field.

[
  {
    "conditions": [
      {
        "bundle_identifiers": [
          "^com.apple.Preview"
        ],
        "type": "frontmost_application_if"
      }
    ],
    "from": {
      "key_code": "j",
      "modifiers": {
        "optional": [
          "any"
        ]
      }
    },
    "to": [
      {
        "key_code": "down_arrow"
      }
    ],
    "type": "basic"
  },
  {
    "conditions": [
      {
        "bundle_identifiers": [
          "^com.apple.Preview"
        ],
        "type": "frontmost_application_if"
      }
    ],
    "from": {
      "key_code": "k",
      "modifiers": {
        "optional": [
          "any"
        ]
      }
    },
    "to": [
      {
        "key_code": "up_arrow"
      }
    ],
    "type": "basic"
  }
]

Done a little search with no luck. Is there a way to solve/workaround this?

@stale
Copy link

stale bot commented Aug 4, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

1 participant