Skip to content

Instantly share code, notes, and snippets.

@maurofaccenda
Last active March 8, 2025 08:53
Show Gist options
  • Save maurofaccenda/aca92d695220e545c5e7ffd28dc365c4 to your computer and use it in GitHub Desktop.
Save maurofaccenda/aca92d695220e545c5e7ffd28dc365c4 to your computer and use it in GitHub Desktop.
hs.hotkey.bind({}, "§", function() hs.eventtap.keyStroke({}, "`") end )
hs.hotkey.bind({ "cmd" }, "§", function() hs.eventtap.keyStroke({ "cmd" }, "`") end )
hs.hotkey.bind({ "shift" }, "§", function() hs.eventtap.keyStroke({ "shift" }, "`") end )
hs.hotkey.bind({ "cmd", "shift" }, "§", function() hs.eventtap.keyStroke({ "cmd", "shift" }, "`") end )
@maurofaccenda
Copy link
Author

maurofaccenda commented Jan 28, 2025

My current MacBook has the American keyboard layout, so I don't need this anymore, however, it is important to keep this updated for those who need it.

Thank you @ghigt and @VojtechVitek. I updated the first comment to reflect your findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment