Wednesday, September 14, 2011

Re: gvim unhighlight last search

On 09/14/2011 06:45 PM, 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.
>
>

:nohl

Often people map <c-l> to :nohl<cr><c-l>

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