Thursday, February 3, 2011

Re: Strange mapping behaviour

Reply to message «Re: Strange mapping behaviour»,
sent 18:07:41 03 February 2011, Thursday
by Marco:

Does `:normal a»' or ``:call feedkeys('»') | startinsert'' work?

Original message:
> On 2011-02-03 Jürgen Krämer <jottkaerr@googlemail.com> wrote:
> > Hi,
> >
> > Marco wrote:
> > > I discovered a strange behaviour while setting up an inoremap command:
> > >
> > > inoremap ( ()<ESC>ha " Works
> > > inoremap » »«<ESC>ha " Doesn't work
> > >
> > > Why does the second mapping not work?
> >
> > how do you enter the opening guillemet? Do you have a single key for it
> > or do you enter it as a digraph? IIRC you cannot use a digraph on the
> > left side of a mapping.
>
> I press <AltGr>+y to get the ».
>
>
> Regards
> Marco

No comments: