Created
May 16, 2018 08:52
-
-
Save spinscale/24b94b103e3737d88cb83be599883118 to your computer and use it in GitHub Desktop.
hammerspoon - german umlauts on us keyboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Umlaute without the hassle, hell yeah | |
hs.hotkey.bind({'alt'}, 'u', function () | |
hs.eventtap.keyStrokes('ü') | |
end) | |
hs.hotkey.bind({'shift', 'alt'}, 'u', function () | |
hs.eventtap.keyStrokes('Ü') | |
end) | |
hs.hotkey.bind({'alt'}, 'a', function () | |
hs.eventtap.keyStrokes(' ä') | |
end) | |
hs.hotkey.bind({'shift', 'alt'}, 'a', function () | |
hs.eventtap.keyStrokes(' Ä') | |
end) | |
hs.hotkey.bind({'alt'}, 'o', function () | |
hs.eventtap.keyStrokes('ö') | |
end) | |
hs.hotkey.bind({'shift', 'alt'}, 'o', function () | |
hs.eventtap.keyStrokes('Ö') | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment