delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/24/09:06:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Cq
nj7CirMSc+Rb4BNwbPPQqVtxnYsfeNOxJPFVcel0T554X2oeTcFWx/vFJakRf7pD
tdCD/onZ9dfo3wGZdegyFW+XZNYUuS8ktLSM++YgoRc91enQlQKeHtuYOf92vxF2
BMeOekoznftDMiGzHkWnHit+3L4O+Om+W05tIkDH8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=Lv6Hyphv
BEP7brbzCikmRuGwwyU=; b=IrSHIYNdOAn3hajgET+snxidggaMx+ofRZD4An4r
ysppCBpAvUWZ4lyZAJpqfEmFKkcEnWy9hbRbqczyMmkCFLeneikwMzd1fo0Bend8
24Wiann6TvXHKhS2uGomdzSDYbCt73Pc1CUoQ2UhaICyuDdtfSt/JZ67rKJXv2ST
FEw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-vk0-f49.google.com
MIME-Version: 1.0
X-Received: by 10.31.158.198 with SMTP id h189mr8395981vke.102.1445692000222; Sat, 24 Oct 2015 06:06:40 -0700 (PDT)
In-Reply-To: <CAFLqW4Nk3bKOGzB=gPu3zSGKPWbtV-yyrZY4zc+OK2Rw0b9y8w@mail.gmail.com>
References: <CAFLqW4Nk3bKOGzB=gPu3zSGKPWbtV-yyrZY4zc+OK2Rw0b9y8w AT mail DOT gmail DOT com>
Date: Sat, 24 Oct 2015 21:06:40 +0800
Message-ID: <CAFLqW4NqE03Ydz2fqxE1Bq2rNN4wD3TW-PsbaN9YxoVtSpVWww@mail.gmail.com>
Subject: Re: Best way to 256 color support on Vim+Tmux+Mintty when toggling light/dark background
From: kuaf <kuaf DOT lee AT gmail DOT com>
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

Self answered here.
This is an issue about 256 color support for vim background in tmux,
check the solution over
http://superuser.com/questions/399296/256-color-support-for-vim-background-in-tmux/399326#399326.

Thanks

2015-10-24 17:16 GMT+08:00 kuaf <kuaf DOT lee AT gmail DOT com>:
> Hi list,
>
> I want a perfect Vim edit environment based on Pencil theme [1].
> Toggle light/dark background without Tmux, it looked well.
> The configuration involved:
> - .bashrc, add custom Pencil theme by way of `echo -ne ...`
> - .bashrc,  `export TERM=xterm-256color`
> - .vimrc, add
>     set t_Co=256
>     colorscheme pencil
>
> Even there's no problem when toggling the light/dark background.
>
> However, toggling background looks horrible if under Tmux session,
> with additional .tmux.conf that had:
>
>     set -g default-terminal "xterm-256color"
>
> I didn't use `set -g default-terminal "screen-256color"` because it
> buggy the color render.
>
> I am expecting who had a perfect solution for the problem?
>
>
>
>
> [1]: https://github.com/reedes/https://github.com/reedes/vim-colors-pencil

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019