Informationen wrote:
Hi,
could somebody tell me how to type complex Greek characters like ῷ or ἅ. I am
using vim7.0 with multibyte and myltilang enabled on Kubuntu 6.06. In other
applications I change the language to polytonic greek and use a composer key.
Is there a similar way in vim possible, too? How can I enter combinations of
more than two characters?
Kind regard and thanks in advance
Chris
For non-ASCII characters in general:
If your default (locale) keyboard has a way to produce them, just type on.
If a digraph exists (see ":help digraph.txt") you can use it (Ctrl-K aa where
aa are any printable characters); if not, you can create your own.
You can use a keymap if you find one to your taste in $VIMRUNTIME/keymap/, or
you can write your own (see ":help keymap-file-format")
If you know a (spacing, composing or non-printing) character's Unicode
codepoint in hex, and you have 'encoding' set to UTF-8, you can use the hex
value (see ":help i_CTRL-V_digit"):
Ctrl-V u xxxx for codepoints in the BMP (i.e., below U+10000)
Ctrl-V U xxxxxxxx for any codepoint up to U+7FFFFFFF, even though current
Unicode guidelines make anything above U+10FFFD illegal (IIRC).
...and, as always, if you use Ctrl-V to paste, replace it here by Ctrl-Q.
Best regards,
Tony.
--
HOW YOU CAN TELL THAT IT'S GOING TO BE A ROTTEN DAY:
#15 Your pet rock snaps at you.