Thursday, September 16, 2010

Re: imap: triggered by completely different key sequence

BC wrote:
> But how do you enter composed characters normally?

Normally like non-vim digraphs, just like on the console: The first
keystroke is the accent key ('), the second keystroke is the letter
(e) which is then displayed a one character (é).

> On windows, <A-i>
> gives me that character, so what you're describing would be expected.

Ok.... I didn't even notice that!

> If you're using digraphs, are you sure you didn't put "iab <A-i>
> \*<TAB>" by mistake?
> That would cause the result you described.

No, :ab lists no abbreviation at all here.


> With an imap, using a digraph ( ^k'e) wouldn't trigger the rhs.

Good point, I wasn't aware of this technique. So ctrl-k'e works for
me, too. This is two keystrokes more each time but quite o.k. for me
here.

I am still curious why the other way (pressing ' and then e) is
interpreted like Alt+i. I have learned now that this produces the same
letter symbol, however, something appears screwed to me if a key
mapping for a complete different keystroke sequence is not relevant
for key mapping.

Thank's a lot
Felix

--
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:

Post a Comment