Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Usable accentuation on MacOS Lion and above (including Yosemite!)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Roman-Accent-A</key>
<dict>
<key>Direction</key>
<string>right</string>
<key>Keycaps</key>
<string>A Á À Â Ä Ā Æ Ã Å</string>
<key>Strings</key>
<string>A Á À Â Ä Ā Æ Ã Å</string>
</dict>
<key>Roman-Accent-C</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>C Ç Ć Č</string>
<key>Strings</key>
<string>C Ç Ć Č</string>
</dict>
<key>Roman-Accent-E</key>
<dict>
<key>Direction</key>
<string>right</string>
<key>Keycaps</key>
<string>E É È Ê Ë Ē Ė Ę</string>
<key>Strings</key>
<string>E É È Ê Ë Ē Ė Ę</string>
</dict>
<key>Roman-Accent-I</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>I Í Ì Î Ï Ī Į</string>
<key>Strings</key>
<string>I Í Ì Î Ï Ī Į</string>
</dict>
<key>Roman-Accent-L</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>L Ł</string>
<key>Strings</key>
<string>L Ł</string>
</dict>
<key>Roman-Accent-N</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>N Ñ Ń</string>
<key>Strings</key>
<string>N Ñ Ń</string>
</dict>
<key>Roman-Accent-O</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>O Ó Ò Ô Ö Ō Œ Ø Õ</string>
<key>Strings</key>
<string>O Ó Ò Ô Ö Ō Œ Ø Õ</string>
</dict>
<key>Roman-Accent-S</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>S Ś Š</string>
<key>Strings</key>
<string>S Ś Š</string>
</dict>
<key>Roman-Accent-U</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>U Ú Ù Û Ü Ū</string>
<key>Strings</key>
<string>U Ú Ù Û Ü Ū</string>
</dict>
<key>Roman-Accent-Y</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>Y Ÿ</string>
<key>Strings</key>
<string>Y Ÿ</string>
</dict>
<key>Roman-Accent-Z</key>
<dict>
<key>Direction</key>
<string>right</string>
<key>Keycaps</key>
<string>Z Ž Ź Ż</string>
<key>Strings</key>
<string>Z Ž Ź Ż</string>
</dict>
<key>Roman-Accent-a</key>
<dict>
<key>Direction</key>
<string>right</string>
<key>Keycaps</key>
<string>a á à â ä ā æ ã å</string>
<key>Strings</key>
<string>a á à â ä ā æ ã å</string>
</dict>
<key>Roman-Accent-c</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>c ç ć č</string>
<key>Strings</key>
<string>c ç ć č</string>
</dict>
<key>Roman-Accent-e</key>
<dict>
<key>Direction</key>
<string>right</string>
<key>Keycaps</key>
<string>e é è ê ë ē ė ę</string>
<key>Strings</key>
<string>e é è ê ë ē ė ę</string>
</dict>
<key>Roman-Accent-i</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>i í ì î ï ī į</string>
<key>Strings</key>
<string>i í ì î ï ī į</string>
</dict>
<key>Roman-Accent-l</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>l ł</string>
<key>Strings</key>
<string>l ł</string>
</dict>
<key>Roman-Accent-n</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>n ñ ń</string>
<key>Strings</key>
<string>n ñ ń</string>
</dict>
<key>Roman-Accent-o</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>o ó ò ô ö ō œ ø õ</string>
<key>Strings</key>
<string>o ó ò ô ö ō œ ø õ</string>
</dict>
<key>Roman-Accent-s</key>
<dict>
<key>Direction</key>
<string>right</string>
<key>Keycaps</key>
<string>s ß ś š</string>
<key>Strings</key>
<string>s ß ś š</string>
</dict>
<key>Roman-Accent-u</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>u ú ù û ü ū</string>
<key>Strings</key>
<string>u ú ù û ü ū</string>
</dict>
<key>Roman-Accent-y</key>
<dict>
<key>Direction</key>
<string>left</string>
<key>Keycaps</key>
<string>y ÿ</string>
<key>Strings</key>
<string>y ÿ</string>
</dict>
<key>Roman-Accent-z</key>
<dict>
<key>Direction</key>
<string>right</string>
<key>Keycaps</key>
<string>z ž ź ż</string>
<key>Strings</key>
<string>z ž ź ż</string>
</dict>
<key>UI-ABC</key>
<string>ABC</string>
<key>UI-Cancel</key>
<string>Cancel</string>
<key>UI-Confirm</key>
<string>confirm</string>
<key>UI-Dismiss</key>
<string>dismiss</string>
<key>UI-Done</key>
<string>Done</string>
<key>UI-EmergencyCall</key>
<string>Emergency
Call</string>
<key>UI-Go</key>
<string>Go</string>
<key>UI-HWR</key>
<string>Handwriting</string>
<key>UI-Join</key>
<string>Join</string>
<key>UI-Kana</key>
<string>Kana</string>
<key>UI-LanguageIndicator</key>
<string>English</string>
<key>UI-Next</key>
<string>Next</string>
<key>UI-NextCandidate</key>
<string>next</string>
<key>UI-Numbers</key>
<string>123</string>
<key>UI-NumbersSymbols</key>
<string>.?123</string>
<key>UI-Pause</key>
<string>pause</string>
<key>UI-Pinyin</key>
<string>Pinyin</string>
<key>UI-Redo</key>
<string>redo</string>
<key>UI-Return</key>
<string>return</string>
<key>UI-Romaji</key>
<string>QWERTY</string>
<key>UI-Route</key>
<string>Route</string>
<key>UI-Search</key>
<string>Search</string>
<key>UI-Send</key>
<string>Send</string>
<key>UI-Simplified</key>
<string>Simplified</string>
<key>UI-Space</key>
<string>space</string>
<key>UI-Standard</key>
<string>Standard</string>
<key>UI-Undo</key>
<string>undo</string>
<key>UI-Wait</key>
<string>wait</string>
</dict>
</plist>

Usable accent marks on MacOS Lion and above (including Yosemite!)

Since Mac OS Lion, default "press and hold" of keyboard keys brings an easy access to accents and special characters:

alt text

However, who designed the order of elements in these lists is CLEARLY NOT using them with enough frequency*. Depending with what vowel you invoke this tool, the order of diacritical mark is different:

a à á â ä æ ã å ā
e é ë ê è ē ė ę
i î ï í ī į ì
o ô ö ò ó œ ø ō õ
u û ü ù ú ū

Just reordering the common set makes it usable:

a á à â ä ā   | æ ã å
e é è ê ë ē   | ė ę
i í ì î ï ī   | į
o ó ò ô ö ō   | œ ø õ
u ú ù û ü ū   |

From now on:

1 | acute      ( ´ )
2 | grave      ( ` )
3 | circumflex ( ˆ )
4 | diaeresis  ( ¨ )
5 | macron     ( ¯ )

Note: Given that tilde is not present regularly I left it out from the reordering.

“Yes, I want it!”

You can get this on your Mac putting fKeyboard-en.plist in /System/Library/Input Methods/PressAndHold.app/Contents/Resources/Keyboard-en.plist, or simply use this:

sudo curl -o "/System/Library/Input Methods/PressAndHold.app/Contents/Resources/Keyboard-en.plist" https://gist.githubusercontent.com/fbeeper/cf748159f5ac11fa9ff8/raw/fKeyboard-en.plist && sudo chmod 644 "/System/Library/Input Methods/PressAndHold.app/Contents/Resources/Keyboard-en.plist"

* I was deeply frustrated to write in Catalan and Spanish everyday before this change :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.