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

How to stop the rule processing (e.g. to preserve the original key)? #3782

Open
ngrigoriev opened this issue Apr 16, 2024 · 0 comments
Open

Comments

@ngrigoriev
Copy link

Hi!

I am trying to "normalize" the key shortcuts between my Linux and Mac, using Linux as reference. Essentially, I have one last rule in the chain that swaps the left control and command keys.

However, I want Command+d to show Spotlight. I define this sequence in System Preferences. But, of course, my control/command swapping rule makes Control+d out of it. I would like to preserve the Command+d combination unmodified.

The rules are processed from the top to the bottom, exiting on the first match. I was assuming that having the sequence like:

  • map Command+d to Command+d (i.e. to itself)
  • swap Command<->Control

would result in the original Command+d to be preserved unmodified. But that does not seem to work.

So, here is the question. Is there a way to stop processing the rules on a particular event/key without modifying it?

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

No branches or pull requests

1 participant