4 ms·
I love OSX's mnemonics for entering non-ascii. I don't know if they differ from keyboard layout to keyboard layout, I use US English. Option-e then a vowel pr
by jrochkind1 11y ago
I love OSX's mnemonics for entering non-ascii. I don't know if they differ from keyboard layout to keyboard layout, I use US English.
Option-e then a vowel produces that vowel with an acute accent. I think "español". (Oh, `option-n, n` produces ñ). Option-! produces ¡ (upside down bang used in spanish).
Option-u then vowel produces vowel with umlaut/diëresis ö ï ä ë.
Option dash is an en-dash and shift-option-dash is an em-dash. Option-< is ≤ and option-> is ≥. option-= is ≠. shift-option-2 (ie option-@) produces the euro sign € (I wonder why it isn't option-$, it was probably already used for something else, oh well, only so much room for mnemonics).
Those are the only ones I currently remember, because those are the ones I use anything close to regularly, but many other non-ascii characters have similar mnemonics using the option key, if I need one I look it up and use it.
Works in just about any software at all, including the terminal.
I don't know why other OS's haven't done similar. Maybe lack of that useful extra 'option' key, the other meta keys may already be taken for other purposes in other OS's.
- tremon 11y ago> Option-e then a vowel produces that vowel with an acute accent. > Option-u then vowel produces vowel with umlaut/diëresis ö ï ä ë. What uncharacteristically unintuitive for Apple. On my keyboard (Linux with AltGr dead keys), AltGr-` followed by a vowel produces a grave accent, AltGr-' produces an acute accent, and AltGr-" produces an umlaut.
- Scarbutt 11y agoAnd now you don't have a right alt key.
- tremon 11y agoAnd now I finally have a use for that right alt key.
- amyjess 11y agoYou could map it to something else. I like having AltGr mapped to right Win, because I never use that key (I use left Win as Super, but I never touched the right one until I swtiched to an international keyboard layout).
- jrochkind1 11y agoI wonder why OP doesn't mention this? It just discusses various methods to enter unicode codepoint values numerically.
- Symbiote 11y agoThe compose key is far more intuitive for infrequent use [1] To type ñ, type Compose, ~, n. To type →, type Compose, -, >. To type €, type Compose, C, =. To type —, type Compose, -, -, -. To type {vulcan salute, which HN strips}, type Compose, L, L, A, P. (Actually, this doesn't work for me, although it is present in /usr/share/X11/locale/en_US.UTF-8/Compose. [1] https://en.wikipedia.org/wiki/Compose_key https://en.wikipedia.org/wiki/Compose_key
- amyjess 11y agoSeconding this. No other method of inputting special characters feels nearly as intuitive as the Compose key. I personally like to map Compose to the Menu key, because the Menu key's default behavior is totally useless.
- gue5t 11y agoThe menu key's functionality is also usually available through Shift-F10 as well, so swapping a more useful key into its location doesn't lose you anything.
- jrochkind1 11y agoThat sounds good too. Is that built into some OS/UI's? Or what do you use to add it to what you use? If it's standard in Linux (?) wonder why OP didn't mention it?
- Symbiote 11y agoIt's standard in Linux, but needs to be enabled. Look for it in your advanced keyboard preferences, or do: setxkbmap -option compose:menu to add it to the menu key.
- TazeTSchnitzel 11y agoOS X seems to make much better use of Alt than Windows does. Here in the UK, Alt Gr on Windows provides the Euro sign, acute accents... and that's about it, I think. On OS X you get a set of different accents, dash sizes, ligatures, quotes, Greek symbols, and so on.
- runarberg 11y agoI have a problem with that approach as it superimposes the fifth level modifier key with the meta (alt) motifier key. When running my ubuntu I can rearrange the modifier keys that fits my use case the best (Caps lock and AltGr as ISO_Level_5, left Alt and right Super as Meta, etc) under OSX those all become the same key, and I either loose the ability to write common characters as `@` (AltGr + q), `}` (AltGr + 0) or the ability to execute common commands with simple key strokes like "Fill paragraph" (Meta + q) or "Forward word" (Meta + f). This non-sense has resulted in most of my co-workers swapping keyboards altogether with the English keyboard and writing the ascii equivalent of special letters (ae → æ, d → ð, þáði → tadi, etc.) because swapping keybards (even though it is only one command; Shift + Option + Space) becomes such a pain if you have to do so many times over the day.