Re: Problem with :noh mapping

This mapping that was recommended on the blog is pretty nifty:

:nnoremap <esc> :noh<return><esc>

It works great in Vim 7.2, but ViEmu's behavior seems to differ a little bit from Vim.  In ViEmu 2.2.9 If you have this mapped and type g<esc> it will activate the binding and spit out a line of text.

I'm not an expert, but I think this is "operator-pending" mode and the mapping shouldn't activate here.

Last edited by jeff (2009-08-25 20:02:26)


Re: Problem with :noh mapping

Jeff, you are right, this deviation has to be fixed in ViEmu. I will look into it so that it's fixed for one of the next releases.

Apologies for the time it took me to respond, this had fallen through the cracks of forum spam filtering and I have only found it now.


  -- Jon


Re: Problem with :noh mapping

Forgot to post here, this was fixed in ViEmu 2.5. Regards - Jon