X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=XzKkXeeatmSbl80B WaX6ju5Qb3szCTrpx2CenxgzjarkowJdGk0hbR4SRqUD/ln3d2Q+zR4CJFVhYvJu KV8ivzuNYLvUJfemxvHHwGR8QljtKWFlG1sU+te5r3aANBy5+BDRaI1Mz3DWOO7V Z00nrpIm1I1gavCfElmBPdtidW0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=OoRGONJBRpotMQwe0otFl2 eZlHI=; b=ynXJFpk0657jHXxQw5VbcD2yyl91zwsjYTinS/hoJnruUEJKa3r8ts mre6C4kmPGEOsOi2YY3soszvtAd/JOXA0LvFA4ccnDwG74DjS2Io8FhuS3ldzNtX Dt9Jj8qP9wUhxHl8WrwQjg76wX2WT4FwymbDkxL3wqYVGQJ8Cxd5g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:jpg, tapas, Tapas, H*UA:6.1 X-HELO: mail-ed1-f47.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=8inUZJ3lRbHif4p6o1oOETgrXyiXbjukIqvlAhAxMls=; b=vZRme6rFEjZF0e4j00QPNAcWNzK/RBEdcfgY/cxe0JCq8t0KmGDcggB1uBUbFSn+Tf wNnNtzByScxtBtHRq+bTw9nGxmQqELMUmk9WnVBszoUbMvcsG2GQUx1ctlk0C1Ql6r3w hM9rP/Y4Ev50dWWssxd7AcaNQY32ZOJh79KIubIyb90N+M4rN5QAjpFOS+Of09U+1Qub 4hPPgKZ3ceLSxr7gpLfBpan798fLDCr1ZZVZ47mliiTKegFkqiHT5Av4Em9dPxhct/zR ifIah7q5enCFvV9bZJQ2wUiLQCJqgPoMZzA7QKwl+AHMiKz18vjW71a6JZHDKvSiJleF KULw== Subject: Re: vim yellow lines problem To: cygwin AT cygwin DOT com References: From: James Darnley Message-ID: <336fc452-2081-66d8-47ad-a4325ddd835e@gmail.com> Date: Tue, 9 Oct 2018 13:33:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2018-10-09 10:49, Tapas Mishra wrote: > I had a C program which I copy pasted and there were line numbers in code. > So I replaced line numbers in vi by following command > :%s/\d*. (<-- last of * is a dot) > > Now I am opening vim in cygwin then all typed lines are coming yellow. > https://i.stack.imgur.com/Dxd8h.jpg > > How do I fix this problem, :noh or :nohlsearch It looks like it is highlighting the matches of the last search you made which was "digit class, 0 or more, and any char". I would not expect Vim to highlight on opening a new file though, only when you tell it to search. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple