On Sunday, October 19, 2014 6:43:23 AM UTC-7, James McCoy wrote:
> On Oct 19, 2014 9:30 AM, "Bee" <[email protected]> wrote:
> > On Sunday, October 19, 2014 6:07:07 AM UTC-7, Paul Evans wrote:
> > > I have now just personally run into yet another facet of this problem.
> > > Due to my mapping
> > >   :map <A-5>   :b 5<CR>
> > > I cannot type the Greek letter µ, often used as the "micro" SI prefix 
> > > symbol.
> > try:
> > :map <a-5> <c-k>My<cr>
>
> I think you're misunderstanding what Paul's saying.
> His <A-5> mapping isn't supposed to insert µ.
> It's supposed to switch to buffer 5.

Yes, I did not understand.

> The problem is that when he types µ,
> it triggers the <A-5> mapping instead of inserting the character.

How to reproduce that?

After creating Paul's mapping
<a-5> in insert mode produces µ.
The :map should not effect insert mode.

Paul did you also map?
:imap <a-5> <c-o>:b 5<cr>

Even if I have both the :map and :imap and use in insert mode:
^vxb5 ( aka <c-v>xb5 ) or ^kMy ( aka <c-k>My )
they always insert the µ character.

Linux Mint 17
gvim 7.4.52
vim 7.4.463

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui