Reply to message «Re: ctrl-o with a mapping», 
sent 23:21:50 04 February 2011, Friday
by AK:

Try typing «<C-o>zz:call LineNums()<CR>» in insert mode (manually). You will 
get 
just the same behavior as you see when you use the mapping. There are some 
differencies between how mapping and typed text are processed (and them I 
consider to be bugs), but you won't see them here.

Original message:
> On 02/04/2011 03:12 PM, ZyX wrote:
> > Reply to message «Re: ctrl-o with a mapping»,
> > sent 23:03:53 04 February 2011, Friday
> > 
> > by AK:
> >> Well, perhaps it's not a bug that it executes only one normal mode
> >> command, but why would it insert the rest of the mapping into buffer?
> >> Is that a useful or expected behaviour under some circumstances?
> > 
> > Because after executing normal command it returns to insert mode.
> > 
> >> I would say the expected behaviour would be to run the mapping..
> > 
> > This is what it does now.
> 
> How is this behaviour not a bug in case of mappings? In other
> words, is this ever a useful behaviour with mappings and is it
> ever not an undesired behaviour in case of complex mappings?  -ak

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to