Saturday, December 25, 2010

Re: AX: change letters on the fly

rameo wrote:

> I often write messages in French, German or Italian.
> I found a very nice little software AX to change letters on the fly
> using only a hotkey (F8 or whatever else).
> http://vulpeculox.net/ax/index.htm
>
> It works in editors like notepad, notepad++ but not in gvim.
> Is it because the keystrokes can't be trapped in vim?
> Is there a solution?
>
> Is it possible to do the same with a vim script?


I don't know why AX does not work with gvim.
However, if you need to type diacritics in French, German,
Italian (etc) and many other characters, you can do it
using Vim digraphs.

For example, typing in insert mode <CTRL-k>'e will
insert e acute é. Other examples:

<CTRL-k>`e → è
<CTRL-k>:e → ë
<CTRL-k>,c → ç
<CTRL-k><< → «
etc.

Ex command ":digraphs" shows available digraphs.
See more in ":help digraph".

Cheers
-- Dominique

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: