Saturday, February 5, 2011

Re: ctrl-o with a mapping

On 02/04/2011 02:50 PM, ZyX wrote:
> Reply to message «ctrl-o with a mapping»,
> sent 20:53:12 04 February 2011, Friday
> by AK:
>
>> nnoremap zz zz:call LineNums()<CR>
>>

I think there may be an easier work around than
wrapping in a function, like so:

nnoremap zz zz<esc>:call LineNums()<CR>

But how can I avoid visualbell when using it from
normal mode?

-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

No comments: