chaoticbob
Established Member
The Alt+<numeric code> thing (being a Microsoft convention I think?) doesn't work at all on Linux. The Linux (or at least Gnome) way of doing it is is pretty much the same as you've described, except that there is no need for a window to pop up. As I'm typing if I do <Scroll Lock> Co I get © . <Scroll Lock> is the default Compose key, but it can be configured to whatever you want. I agree that this is a much easier way of doing it. The two letter codes in Linux/Gnome are often (but not always) as in your table - unsurprising perhaps as vim is derived from vi which was written for Unix, so branches of the same tree. Linux also allows Unicode characters, for example 𝜒 hasn't got a two-letter code but can be had with <Ctrl>+<Shift>+<u> 1D712 <Enter>. Ugly, but sometimes necessary! No idea how to do Unicode in Windows or MacOS, but presumably possible?In my job, I use a lot of symbols when typing and I got fed up with the alt codes as they seem such a backwards way of doing it. To make my life easier I wrote a little application (written in python, but can be compiled to a windows executable so it doesn't require python) that makes symbol entry much easier (in my opinion). With it, you hit Win+K (or whatever key combination you've configured) and a very simple window pops up:
View attachment 141847
In that window, you type two characters. When you type the second character, the window disappears and a symbol gets pasted into whichever application you were using before pressing the shortcut. So, for example, I hit Win+K then Co and the result is ©.
The symbol obviously depends on which two characters you type, but I think they're a lot more intuitive than the alt codes (I didn't invent them: they came from a text editor called Vim that has native support for these codes) ...
Bob.