This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vim colorscheme


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]