From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 13:19:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31DA080D for ; Wed, 10 Sep 2014 13:19:28 +0000 (UTC) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id ECA101120 for ; Wed, 10 Sep 2014 13:19:27 +0000 (UTC) Received: from [204.210.114.114] ([204.210.114.114:45965] helo=localhost.hawaii.res.rr.com) by dnvrco-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id DF/84-18326-72E40145; Wed, 10 Sep 2014 13:12:08 +0000 Received: by localhost.hawaii.res.rr.com (Postfix, from userid 1000) id 2655A6412; Wed, 10 Sep 2014 03:14:48 -1000 (HST) Date: Wed, 10 Sep 2014 03:14:48 -1000 From: Parv To: Johannes-Maria Kaltenbach Subject: Re: vim and cursor-over-"chars" question Message-ID: <20140910131448.GA1574@holstein.holy.cow> Mail-Followup-To: Johannes-Maria Kaltenbach , freebsd-questions@freebsd.org References: <20140910132008.GA1958@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140910132008.GA1958@localhost> X-RR-Connecting-IP: 107.14.64.118:25 X-Authority-Analysis: v=2.1 cv=btPCBSqi c=1 sm=1 tr=0 a=lLOF/jpPrR0dcgWXP1EvZg==:117 a=lLOF/jpPrR0dcgWXP1EvZg==:17 a=ayC55rCoAAAA:8 a=d6ebF5wNKiAA:10 a=ffvOtQSCAxIA:10 a=R5FhY6rjjCMA:10 a=kj9zAlcOel0A:10 a=Ymsr-CWnAAAA:8 a=s8ef7jeFeYUA:10 a=avs_gzZRirJslVNtoYUA:9 a=CjuIK1q_8ugA:10 X-Cloudmark-Score: 0 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 13:19:28 -0000 in message <20140910132008.GA1958@localhost>, wrote Johannes-Maria Kaltenbach thusly... > ... > or you can set this xterm configuration in your .vimrc: > > for cursor in command mode: > > let &t_EI = "\]12;orange\x7" > > and in insert mode: > > let &t_SI = "\]12;orange\x7" > > where you can choose a different colour. Thanks much, Johannes-Maria. Only thing is that cursor color (with which xterm was started) is not restored after editing or opening a file in vim. I can live with that. --