Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 07:50:16 -1000
From:      parv@pair.com
To:        Thomas Dickey <dickey@his.com>
Cc:        Johannes-Maria Kaltenbach <johannes-maria@t-online.de>, freebsd-questions@freebsd.org
Subject:   Re: vim and cursor-over-"chars" question
Message-ID:  <20140911175016.GA1577@holstein.holy.cow>
In-Reply-To: <1490805295.22897370.1410378589785.JavaMail.root@his.com>
References:  <20140910131448.GA1574@holstein.holy.cow> <1490805295.22897370.1410378589785.JavaMail.root@his.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <1490805295.22897370.1410378589785.JavaMail.root@his.com>,
wrote Thomas Dickey thusly...
>
> ----- Original Message -----
> | From: "Parv" <parv@pair.com>
...
> | Only thing is that cursor color (with which xterm was started) is
> | not restored after editing or opening a file in vim.
>
> A 112 (in contrast to 12) is supposed to reset the cursor color to
> its initial value.  Using that would help eliminate the explicit
> color here.

Thanks Thomas. That indeed does happen after I had changed the
escape code ...

  autocmd VimLeave    * silent !echo -ne "\033]112;\x7"


Everything is right with (this small portion of) the world now.


-- 




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