Wednesday, September 14, 2011

Re: gvim unhighlight last search

On 01:03 Thu 15 Sep , Gelonida N wrote:
> On 09/15/2011 12:45 AM, Gelonida N wrote:
> > Hi,
> >
> > If I search some text wtih '/',
> > then vim highlights this search expression in the entire text, (which is
> > nice).
> >
> > Sometimes I'd like just to unhighlight the search.
> >
> > currently I search for something non existing to do so.
> >
> > However I assume, there is something slighty more elegant.
> >
> > What would be this command or the shortest sequence?
> >
> >
> > Thanks in advance for your answer.
> >
> >
>
>
> Thanks a lot to all of your really fast responses.
>
> I love this group :-)
>
>
>
>
>
> --
> 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


The other solution, but longer, is to use: :let @/="".
Marcin


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