On Wed, Apr 15, 2009 at 4:16 AM, Tony Mechelynck wrote:
>
> On 15/04/09 10:00, Andy Wokula wrote:
>>
>> Tony Mechelynck schrieb:
>>> On 12/04/09 21:29, Matt Wozniski wrote:
>>>> 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 don't think you can. However you can turn it back on by using e.g.
>>>>>
>>>> No, but IIRC,
>>>>
>>>> :let @/ = @/
>>>>
>>>> should do the trick as well.
>>>
>>> I tried it before sending that post, and it doesn't.
>>>
>> The usual way is
>>      :let&hls =&hls
>
> Tt, tt. As has already been said, the OP didn't want to know whether the
> 'hlsearch' _option_ had been set or cleared, but whether the
> :noh[lsearch] _command_ had been used since the latest search. The
> command has no effect when the option is unset, but otherwise they are
> different things.

Er, right... but Andy didn't reply to the OP, he replied to you (and
I) about how to turn back on highlighting after a :nohl

~Matt

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

Reply via email to