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

cannot remap SHIFT + § #3641

Closed
mmt1821 opened this issue May 31, 2024 · 3 comments
Closed

cannot remap SHIFT + § #3641

mmt1821 opened this issue May 31, 2024 · 3 comments

Comments

@mmt1821
Copy link

mmt1821 commented May 31, 2024

On a Mac silicon (M3) (Sonoma 14.5)
Hammerspoon used to allow me to map SHIFT + § to tilde (~) -- yes I have an EU keyboard.

The following code does not seem to do anything anymore:

hs.hotkey.bind({ "shift" }, "§", function() print("TILDE") end)

Any clues?

@cmsj
Copy link
Member

cmsj commented Aug 5, 2024

In general I tend to recommend people use Karabiner to do key remappings, because it's able to operate at a much lower level than Hammerspoon is. Having said that, this seems to be working ok for me:

> foo = hs.hotkey.bind({"shift"}, '§', function() print("yo") end)
2024-08-05 16:08:49: 16:08:49     hotkey: Enabled hotkey ⇧§

2024-08-05 16:08:51: yo

> hs.keycodes.currentLayout()
British

Do you see the Enabled hotkey ⇧§ message in your Hammerspoon console?

Copy link

github-actions bot commented Sep 5, 2024

This issue needs more information. Please see our request above.

@github-actions github-actions bot added the stale label Sep 5, 2024
Copy link

github-actions bot commented Oct 5, 2024

No information was received, closing this Issue for now.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants