Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 15:20:08 +0200
From:      Johannes-Maria Kaltenbach <johannes-maria@t-online.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: vim and cursor-over-"chars" question
Message-ID:  <20140910132008.GA1958@localhost>
In-Reply-To: <mailman.77.1410350402.62559.freebsd-questions@freebsd.org>
References:  <mailman.77.1410350402.62559.freebsd-questions@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello,

> On Tue, 9 Sep 2014 23:30:22 +0200, Polytropon wrote:
>
> The following example will open an xterm with black back-
> ground, grey text, and a flashing orange block cursor.
>
> 	% xterm -bg black -fg grey -cr orange +uc -bc -bcf 100 -bcn 100
>
> See "man xterm" for details.

or you can set this xterm configuration in your .vimrc:

for cursor in command mode:

let &t_EI = "\<Esc>]12;orange\x7"


and in insert mode:

let &t_SI = "\<Esc>]12;orange\x7"

where you can choose a different colour.



Best regards,
Johannes-Maria






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140910132008.GA1958>