[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Colour remnants from previous program

From: Christian Ebert
Subject: Re: Colour remnants from previous program
Date: Fri, 4 May 2007 08:11:35 +0200
User-agent: Mutt/1.5.15 (2007-04-29)

* cga2000 on Thursday, May 03, 2007 at 20:42:55 -0400:
> Also, at least in my environment, CRTL-L usually redraws the screen and
> usually takes care of removing whatever garbage I have on the display.

Hm, not necessarily of the color garbage. I have to do the
following in my vimrc, which might be related to the OP's issue:

" workaround for dark color on light Screen term
if &term =~ '^screen'
  autocmd VimLeave * if &background == "dark"|
        \ exe "sil !printf \e[0m\e[0m" |
        \ endif

Otherwise, once I exit vim with dark background to Screen with
light bg, all characters stay in a dark "box" on light bg.

Vim plugin to paste current GNU Screen buffer in (almost) any mode:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]