From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 13:28:44 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 5FD2ED07 for ; Wed, 10 Sep 2014 13:28:44 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FED01251 for ; Wed, 10 Sep 2014 13:28:43 +0000 (UTC) Received: from r56.edvax.de (port-92-195-111-1.dynamic.qsc.de [92.195.111.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 330003D074; Wed, 10 Sep 2014 15:28:35 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s8ADSYRY002200; Wed, 10 Sep 2014 15:28:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 10 Sep 2014 15:28:34 +0200 From: Polytropon To: Parv Subject: Re: vim and cursor-over-"chars" question Message-Id: <20140910152834.3aa4f6f6.freebsd@edvax.de> In-Reply-To: <20140910131448.GA1574@holstein.holy.cow> References: <20140910132008.GA1958@localhost> <20140910131448.GA1574@holstein.holy.cow> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Johannes-Maria Kaltenbach , 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:28:44 -0000 On Wed, 10 Sep 2014 03:14:48 -1000, Parv wrote: > 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. This is correct, and the setting does not apply to gvim. Otherwise it works nicely in xterm. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...