delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/28/17:58:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4EFB9F00.1080807@cpan.org>
Date: Wed, 28 Dec 2011 17:58:08 -0500
From: Rafael Kitover <rkitover AT cpan DOT org>
Reply-To: rkitover AT cpan DOT org
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: vim colorscheme
References: <33047325 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <33047325.post@talk.nabble.com>
X-IsSubscribed: yes
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

On 12/28/2011 4:47 PM, dirtyfishtank wrote:
> 
> Hey all. Does anyone know how to change the color scheme for the vim editor
> in Cygwin. 
> 
> I have the 'color' folder installed and in vi/vim mode I can use
> :colorscheme <color_name> to temporarily change the color of the background,
> but it only works with certain color schemes not all of them. Also, how do I
> set one of these colourschemes as a default. There is no vimrc file within
> the cygwin directory. 
> 
> Ideally I want to use the "pablo" or "torte" color scheme (which are
> installed in the 'color' folder) as they are easy to follow for development.
> 
> Any help would be great

You can make a .vimrc in your home directory as specified in
/etc/passwd, usually /home/something (echo $HOME).

If you are using the windows console rather than mintty the number of
colors is very limited, I believe 8 or 16. If you use mintty you have
256 colors which is much nicer for vim.

I use this color scheme with mintty:
http://cachemiss.com/files/256_darkdot.vim

third-party color schemes go into ~/.vim/colors

--
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