Saturday, December 28, 2013

Re: Is it possible to map dead keys (accents) in Normal mode?

On Saturday, December 28, 2013 3:05:29 PM UTC+4, Tony Mechelynck wrote:
> On 28/12/13 10:35, Alexey wrote:
>
> > Hello,
>
> >
>
> > i am using a Canadian Qwerty keyboard layout with dead keys for entering "^" and "¨" accents. For example, typing what would be "[o" in US Qwerty produces "ô".
>
> >
>
> > Is it possible to map a dead key in Vim (in Normal mode for example)? I would like to remap the keyboard so that pressing the US Qwerty <[> key acts as "[" even in Canadian layout.
>
> >
>
> > Thanks,
>
> >
>
> > Alexey.
>
> >
>
>
>
> It is not possible to map only the dead key, because when you hit it the
>
> keyboard interface (part of your OS or of X11 or…) sends nothing to Vim,
>
> it waits until you hit the next key. You can map â ê î ô û ลท or even, if

Thanks, but i do not think that Vim does not receive anything when i press a dead key: when in Insert mode i press the dead <^>, it shows "^", which turns into "ô" when i press <o>.

Alexey.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment