From owner-freebsd-questions@FreeBSD.ORG Fri Jan 4 14:10:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4BBC1C16 for ; Fri, 4 Jan 2013 14:10:06 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 1CAF1396 for ; Fri, 4 Jan 2013 14:10:05 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r04E9tjr001333 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 4 Jan 2013 08:09:55 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Fri, 4 Jan 2013 08:09:54 -0600 Subject: Re: somewhat OT ... in parts MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" From: Devin Teske In-Reply-To: <20130104080339.13b51546.freebsd@edvax.de> Date: Fri, 4 Jan 2013 06:09:53 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: References: <20130103025305.GA24960@ethic.thought.org> <20130103072741.c02a1150.freebsd@edvax.de> <20130104022738.GA7368@ethic.thought.org> <20130104080339.13b51546.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-01-04_04:2013-01-04,2013-01-04,1970-01-01 signatures=0 Cc: Gary Kline , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 14:10:06 -0000 On Jan 3, 2013, at 11:03 PM, Polytropon wrote: > On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote: >> one question I have may solve the problem of vim displaying >> all the ^/search terms and displaying them in some color.=20 >> the default brown is awful, but dark blue isn't much bbetter. >=20 > If you try :colorscheme blue you can see that the results have > orange background with dark text (maybe black?), while the editor > background is blue (as the name of the color scheme suggests). >=20 >=20 >=20 >> So: can I add something to my ~/.vimrc that =3Dlimits=3D >> the "search" to displaying one term? if I am searching for, >> say, "the" or I guess /\, I dont want every "the" in my=20 >> file. I want only one. or one at a time, and not necessarily >> in color. >=20 > If you have :set hlsearch activated, all (visible) matches will > be highlighted, :set hls :set nohls for short to enable/disable (respectively). > and the cursor will be placed at the first match. >=20 On a side note, there's also :set incsearch That will make you jump ahead as you type (I personally don't care for it). > I don't see an option to highlight the _next_ result only. However, > if you do _not_ set hlsearch, searching and continuing searching > will not highlight anything, instead let the cursor skip to the > next match (tried here with "gvim /COPYRIGHT", /this, /, /, / and > so on), with :set nohlsearch for testing. >=20 >=20 >=20 >=20 > --=20 > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.