[plug] vi issue

Anthony J. Breeds-Taurima tony at cantech.net.au
Tue Aug 6 10:39:27 WST 2002


On Mon, 5 Aug 2002, Matt Kemner wrote:

> On 5 Aug 2002, quoth proXy:
> 
> > > It could be because it was what was last searched for. Type
> > > /fahosfas (or some rubbish) to clear the highlighting (there may be
> 
> > It's good to see I'm not the only person who does this to get rid of a
> > search string :)
> 
> I'm also guilty of that one :)
> 
> And, to turn that annoying little "feature" off in vim forever, add:
> 
> "hi clear Search"
> 
> to your ~/.vimrc
> 
> Type it in at the : prompt if you only want to turn if off on a
> per-session basis


Or if you find it usefulll most of the time then:
:nohl will turn it off until you prform your next search.
I have "map @ :nohl" in my .vimrc file, then when the highlighting is
in the way just type "@" in command mode.

Yours Tony

   Jan 22-25 2003           Linux.Conf.AU            http://linux.conf.au/
		  The Australian Linux Technical Conference!



More information about the plug mailing list