Amethyst icon indicating copy to clipboard operation
Amethyst copied to clipboard

How to change the binding for Option+e ?

Open zygm0nt opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

I'm using Amethyst on Mac and there's one keyboard shortcut for Option+e that I'd like to remove, as it is a standard shortcut for my locale language writing.

I've tried setting this in ~/.amethyst in the following way:

{
  "focus-screen-2": {
        "mod": "mod1",
        "key": "0"
    },
"throw-screen-2": {
        "mod": "mod2",
        "key": "9"
    }
}

I've taken those from the sources:

  • https://github.com/ianyh/Amethyst/blob/development/Amethyst/default.amethyst#L53
  • https://github.com/ianyh/Amethyst/blob/development/Amethyst/default.amethyst#L69C5-L72C7

The changes were reflected in Amethyst UI, but it did not free the use of option+e.

Then I removed the file ~/.amethyst and changed that in Amethyst UI - in Preferences. That change also brought nothing.

So the question is - how should I correctly reclaim this shortcut from Amethyst and give control to the OS?

zygm0nt avatar Feb 19 '24 15:02 zygm0nt

The keybindings get recorded in the plist system. Checkout .amethyst.sample.yml in the top level of the tree for pointers. If I delete the config, then edit defaults, then launch Amethyst it appears to behave as you expect.

shaleh avatar Feb 27 '24 22:02 shaleh