Israel Chauca F. | 9 Feb 00:14
Favicon

Can't map some unicode chars

Hi,

I'm trying to use some mappings with these characters (referred to me as german quotes):

char UTF-8 Code
 „    E2 80 9E 
 “    E2 80 9C

But the mappings don't expand when they are the first char of the LHS of the mapping. I have tested the
following cases (gvim -N -u NONE -U NONE  and vim -N -u NONE):

imap “ z             <-- does not expand
imap ” y             <-- does not expand
imap a“ x            <-- expands
imap a” w            <-- expands
imap “a v            <-- does not expand
imap ”a u            <-- does not expand
imap <Char-0x201E> t <-- does not expand
imap <Char-0x201D> u <-- does not expand

When I run :imap the mappings are listed.

No problem when they are on the RHS of the mapping.

Can somebody else confirm this? Is this expected?

Cheers!
Israel

--

-- 
(Continue reading)

Tony Mechelynck | 9 Feb 02:43
Picon
Gravatar

Re: Can't map some unicode chars

On 09/02/12 00:14, Israel Chauca F. wrote:
> Hi,
>
> I'm trying to use some mappings with these characters (referred to me as german quotes):
>
> char UTF-8 Code
>   „    E2 80 9E
>   “    E2 80 9C
>
> But the mappings don't expand when they are the first char of the LHS of the mapping. I have tested the
following cases (gvim -N -u NONE -U NONE  and vim -N -u NONE):
>
> imap “ z<-- does not expand
> imap ” y<-- does not expand
> imap a“ x<-- expands
> imap a” w<-- expands
> imap “a v<-- does not expand
> imap ”a u<-- does not expand
> imap<Char-0x201E>  t<-- does not expand
> imap<Char-0x201D>  u<-- does not expand
>
> When I run :imap the mappings are listed.
>
> No problem when they are on the RHS of the mapping.
>
> Can somebody else confirm this? Is this expected?
>
> Cheers!
> Israel
>
(Continue reading)


Gmane