On 02/04/2011 03:40 PM, ZyX wrote:
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.

Well, this is a normal mode mapping (nnoremap), by definition all of its
contents should run under normal mode or not at all. Otherwise you might
imagine having commands that run insert mode mappings under normal mode,
visual mode mappings under command-line mode, etc - all of which is as
crazy as ctrl-o behaviour we're discussing. -ak

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

Reply via email to