I would like to be able to insert a Unicode character, namely š, by pressing a keyboard shortcut in OSX. Some applications allow me to press and hold the s key and then I can select the desired accented form. However, some applications, such as iTerm2 or LibreOffice don't seem to respect this.
My daughter's name is Eliška and I'd like to be able to type her name from anywhere.
The trick from here doesn't work for me. I even tried adding a Unicode string.
I also tried cloning KeyRemap4MacBook to try and add the X11 key code to the list of available codes for mapping. This compiled fine and the
private.xml file was loaded and parsed properly (meaning the new key code was recognized) but the mapping just doesn't work.
Unicode for this character is U+0160 and U+0161. Here is the Wikipedia entry.
EDIT: Solved for iTerm2 by adding a keyboard shortcut in iTerm2's preferences.