vim and cursor-over-"chars" question

Johannes-Maria Kaltenbach johannes-maria at t-online.de
Wed Sep 10 12:34:04 UTC 2014


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





More information about the freebsd-questions mailing list