4

So to ease my transition into the MacOS realm, I found and installed this amazing tool called Karabiner, importing specifically the rules named Windows shortcuts on macOS, as they seem the closest to my 40 YO finger habits.

It works great, except for when I am within Emacs. How do I exclude Emacs from my currently running Karabiner rules?

5

1 Answer 1

4

To exclude Emacs from Karabiner, simply add the Emacs bundle identifier to each frontmost_application_unless clause in karabiner.json.

The bundle identifier of Emacs is org.gnu.Emacs and in karabiner.json insert into each rule's conditions section like this:

"conditions": [
    {
        "bundle_identifiers": [
            "^org\\.gnu\\.Emacs$"
        ],
        "type": "frontmost_application_unless"
    }
],

Once you do that, open the Kabiner-Elements app, click Quit, Restart at the bottom of the left pane, then (under Action), click the Restart Karabiner-Elements button.

1
  • Thanks. Works great.
    – ripopenid
    Commented Sep 8, 2023 at 10:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .