On Sun, Apr 12, 2009 at 2:15 PM, Tony Mechelynck wrote:
>
> On 12/04/09 14:10, Dennis Benzinger wrote:
>>
>> Hi!
>>
>> How can I check if there is no search highlighting because of
>> :nohlsearch opposed to :set nohlsearch ?
>>
>> I can check the hlsearch option with :set hlsearch? or echo&hlsearch .
>> Is there a similar variable for :nohlsearch ?
>
> I don't think you can. However you can turn it back on by using e.g.
>
>        /
>        Ctrl-O
>
> (There is no :hlsearch command.)

No, but IIRC,

:let @/ = @/

should do the trick as well.

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to