Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: OT: Question: Unicode

From:Mark J. Reed <markjreed@...>
Date:Wednesday, May 21, 2003, 14:23
On Wed, May 21, 2003 at 11:54:11AM +0200, taliesin the storyteller wrote:
> > Note that in vim, you can already type a LATIN CAPITAL LETTER A WITH MACRON > > by typing control-K, A, -. > > Doesn't seem to give me y+macron (which is neither in latin extended > a or b but in latin supplemental IIRC) > or w+macron.
Hey, I didn't say anything about Y and W; I said A. ;-) LATIN SMALL LETTER Y WITH MACRON is U+0233, in the Latin Extended-B block. That's decimal 563, so you can add a y- digraph by putting the command "digraph y- 563" in your .vimrc. There do seem to be some surprising gaps in the built-in digraphs; for instance, there are sequences for ń, ņ, ň, and ʼn, but not ñ! W+macron does not seem to exist as a precomposed character, and the vim digraphs only do single characters. To get a w with a macron you'll have to use a w followed by a combining macron: w̄. You can't make a digraph for that, but you can map a key sequence to it in a keymap.
> Hmm typing æøå (ash, oslash, aring) in vim on mlterm is strangely painful...
What's mlterm? In vim without a custom keymap, that's ^Kae^Ko/^Kaa.
> Do you use gvim or run it in a terminal?
On Linux, I run it in an xterm. On Windows, I use gvim, because it will automatically switch the encoding used for display to match the :encoding setting; DOS windows are Windows-1252 only.
> I'll need that, the macroned vowels are very frequent... too bad there's > no generic XIM-maker.
Yeah, that would be nice. Having to fire up vim to cut and paste into J. Random X11 application is not much of an improvement over the Windows Character Map accessory. -Mark