On 01/02/09 17:11, bill lam wrote:
> Just curious.  Users who use Cyrillic (or Greek) have to shift toggle
> in order to type Latin letters.  However vim by default only recognize
> ascii such as hjkl or modkey+ascii such<C-F>.  Will it be very clumsy
> to use vim to edit text such as email?
>

        :help 'keymap'
        :help 'langmap'
        :help mbyte-keymap

Use a keymap (one of those distributed with Vim, or an own-coded one 
using |mbyte-keymap|), and set 'keymap', if your keyboard normally sends 
Latin text (e.g. at the shell prompt, which also expects ASCII), and you 
want to change the interpretation for Insert mode (and the operands of r 
t f etc.). Use 'langmap' if your keyboard normally sends non-Latin text 
(Cyrillic, Greek, Hebrew, Arabic, whatever) and you want to change the 
interpretation in Normal and Command-line modes. For RTL languages 
additional steps are required to make Vim ready, see |hebrew.txt|, 
|farsi.txt| and |arabic.txt|.

For CJK, of course, you would use a full-fledged Input Method.


Best regards,
Tony.
-- 
This is the story of the bee
Whose sex is very hard to see

You cannot tell the he from the she
But she can tell, and so can he

The little bee is never still
She has no time to take the pill

And that is why, in times like these
There are so many sons of bees.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to