Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Importance: Normal
Subject: Re: AW: AW: highlighting in vi
To: cygwin@sources.redhat.com
X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000
Message-ID: <OF73F753D0.BF80A652-ON85256990.0059D43F@raleigh.ibm.com>
From: "Ed Bradford/Raleigh/IBM" <egb@us.ibm.com>
Date: Tue, 7 Nov 2000 11:23:05 -0500
X-MIMETrack: Serialize by Router on D04NMS90/04/M/IBM(Release 5.0.3 (Intl)|21 March 2000) at
 11/07/2000 11:23:05 AM
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAA21778

After noticing I had the yellow on yellow hlsearch problem on one computer
and not on the other I found that changing

     background=dark
to
     background=light

fixed the yellow on yellow hlsearch problem. Does this help?

Ed

Your Windows 2000 Arborist
T/L 589-4410; Outside: 1-919-993-4410
egb@us.ibm.com


Don Sharp <Don.Sharp@dddandr.octacon.co.uk>@sources.redhat.com on
11/07/2000 10:15:10 AM

Please respond to dwsharp@iee.org

Sent by:  cygwin-owner@sources.redhat.com


To:   gnuwin32 <cygwin@sources.redhat.com>
cc:
Subject:  Re: AW: AW: highlighting in vi



That works a treat. Now if we can just solve some of the other problems
mentioned, or should we wait for 6 and fix that one?

TVM

Don Sharp

Michael.Ring@t-mobil.de wrote:
>
> The answer is in the /usr/share/vim/vimrc file:
>
> " Switch syntax highlighting on, when the terminal has colors
> " Also switch on highlighting the last used search pattern.
> if &t_Co > 2 || has("gui_running")
>   syntax on
>   set hlsearch
> endif
>
> hlsearch is turned on here...
>
> Simply add
>
> set nohlsearch
>
> to your .vimrc and it will never do highlighting.
>
> You could also 'fix' /usr/share/vim/vimrc, but if you upgrade vim next
time (6.0
> is arround the corner!) then chances are high that you will have hlsearch
on
> again ;-)
>
> Michael Ring
>
> -----Ursprüngliche Nachricht-----
> Von: Tom Trelvik
> Gesendet am: Dienstag, 7. November 2000 15:18
> An: Michael Ring
> Betreff: Re: AW: highlighting in vi
>
>         So, this may be really simple, but how do you *un*highlight the
results
> of a search in the vim that comes with cygwin?  Searching for a pattern
> highlights every occurrance found.  But that highlighting seems to
> stick, even on other files, and even if I get a new shell through cygwin
> (either before, or after closing the current).
>
> Thanks,
>
> Tom
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

