> In the old gvim, doing a search (/something) highlights all
> "something" in red.  In gvim 7, it doesn't highlight all occurrences.
> Is there a way to turn this back on?

It sounds like in the process, a vimrc (system-wide?) was
changed.  You don't mention your distro/OS, so it's hard to help
there.

However, in your $HOME/.vimrc (or _vimrc on Win32), you can
simply add the line

        set hls

to turn on highlighting your searches by default.

If you just want to turn it on for a current session, you can use
it as an Ex command:

        :set hls

or toggle it with

        :set hls!

Using this method, it's not preserved across runs of Vim though
(which is what the vimrc is for).

-tim



Reply via email to