Monday, August 22, 2011

Re: Detect whether search highlighting is active

On Aug 22, 7:13 am, Tim Chase <v...@tim.thechases.com> wrote:
> Well, you always have access to &hls as a variable, so you can do
> things like
>

Sure, but the value of 'hls' doesn't actually tell you whether
highlighting is currently active. The :nohls command turns of
highlight without turning off the option or clearing the search (at
least I think that's how it works, I haven't actually tried it).

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