On Thu, July 11, 2013 16:48, pmu wrote:
> Hi,
>
> I am using gvim version 7.3 32 Bit on 64 Bit Windows 7.
>
> After I use the command ":%s/ /,/g" which basically replaces every
> instance
> of space with a comma, the replacement works fine.
>
> However, right after that, if I press "u" to undo the replacement, it does
> replace the "," with space, however, for some reason, it highlights the
> space.
>
> My _vimrc has highlighting enabled.
>
> Is this a feature or a bug? Not that its causing a big issue, just that so
> many highlights sort of become an eyesore.
>
> Any help or suggestion will be helpful.
>

Personally, I don't think this is a bug, since after the undo, the matched
pattern can be found and will therefore be highlighted.

Since I also get annoyed by the search highlighting usually, I mapped <C-L>
to also clear the search highlighting. It seems so logacially, that
a redraw should also clear the last search pattern highlight, that I
don't understand why this is the default.

regards,
Christian

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" 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/groups/opt_out.


Reply via email to