Brian E. Lozier wrote:

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?

I suspect that you may be having problems because you made changes to files in
files in your former $VIMRUNTIME (use :echo $VIMRUNTIME  when running vim to
see where that is). Those files should not be changed, added to, etc, unless
you don't mind having to re-do all such changes when next you upgrade vim.

Instead:

 * put settings, most customizations, etc in
   $HOME/.vimrc  (linux)
   $HOME\_vimrc  (windows)

   You can find out where your $HOME is by typing
     :echo $HOME
   when you're running vim.

 * Put plugins into
     $HOME/.vim/plugin/      (linux)
     $HOME\vimfiles\plugin\  (windows)

 * Put autoload plugins into
     $HOME/.vim/autoload/      (linux)
     $HOME\vimfiles\autoload\  (windows)

 * Put colorschemes into
     $HOME/.vim/colors/      (linux)
     $HOME\vimfiles\colors\  (windows)

The setting in question here is:  hls
You'll probably should include the following in your .vimrc (_vimrc), too:

set nocp
if version >= 600
 filetype plugin indent on
endif

Regards,
Chip Campbell


Reply via email to