Michael C. Toren on 12 Jan 2005 16:28:47 -0000 |
On Wed, Jan 12, 2005 at 09:48:06AM -0500, Bill Hance wrote: > I would like to know how to turn off highlighting in vi. If anyone can > provide a clue, that would be great. One of my PCs (RHL9) - whenever I > open a file with vi - every instance of "192" is glowing an ugly orange. > How it got this way is a mystery. I presume you're using vim rather than a more traditional vi; try doing ":set nohls" to turn off highlighting of search results. If you would like to make the change permanent, put "set nohls" in your ~/.vimrc file. HTH, -mct -- perl -e'$u="\4\5\6";sub H{8*($_[1]%79)+($_[0]%8)}sub G{vec$u,H(@_),1}sub S{vec ($n,H(@_),1)=$_[2]}$_=q^{P`clear`;for$iX){PG($iY)?"O":" "forX8);P"\n"}for$iX){ forX8){$c=scalar grep{G@$_}[$i-1Y-1Z-1YZ-1Y+1ZY-1ZY+1Z+1Y-1Z+1YZ+1Y+1];S$iY,G( $iY)?$c=~/[23]/?1:0:$c==3?1:0}}$u=$n;select$M,$C,$T,.2;redo}^;s/Z/],[\$i/g;s/Y /,\$_/xg;s/X/(0..7/g;s/P/print+/g;eval' # Michael C. Toren <mct@toren.net> ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|