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:date:message-id:subject:from:to :content-type; q=dns; s=default; b=CzW8fxYOccjj6kVVsQ5/P7bKjtkt/ jPBr6HnMNaHAHVNzYUBJ37PJbRtjqiGRT9GK25fUfWRoIuhmuKErV7wWA0uQo2Zh NrIF5EgrlLNYJRua5ICGDrks9ReRVObhkUqzNmQUxu/ekUIf79J1mY1dUf4yzoLJ /cnxQd26OWkZpA= 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:date:message-id:subject:from:to :content-type; s=default; bh=OyVhHesYL3bdZwfDVLTAUbi+CKw=; b=btQ LcRn8Tjf+oIJiBVBaXpMDz4x/iWLYD3v459RUQWa/dBRXG6rZVYVHtn8Ri/dGy7E BTYH/pcVpkqnVMskxTZN0dykMor8kGZzC6Qi+qC9H+uGEHjpJl5vprAiB3gUHaP2 iU7NTWo7gAGFT5Skty86xC+lA9QKX1nAPV6Y1RtM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=0.9 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vk0-f46.google.com MIME-Version: 1.0 X-Received: by 10.31.2.205 with SMTP id 196mr16551665vkc.34.1445678205503; Sat, 24 Oct 2015 02:16:45 -0700 (PDT) Date: Sat, 24 Oct 2015 17:16:45 +0800 Message-ID: Subject: Best way to 256 color support on Vim+Tmux+Mintty when toggling light/dark background From: kuaf To: cygwin Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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