public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* VIM Syntax Colors
@ 2001-07-20 20:50 Barry Buchbinder / Isabelle Trocheris
  2001-07-23 10:15 ` john mapoles
  0 siblings, 1 reply; 5+ messages in thread
From: Barry Buchbinder / Isabelle Trocheris @ 2001-07-20 20:50 UTC (permalink / raw)
  To: cygwin

In Win98, I use both Cygwin vim under bash and dos vim (from
vim58d32.zip) under command.com in a DOS box.  The colors generated by
syntax files are different in the two environments.  I would prefer that
Cygwin vim look like DOS vim.  I've played around a bit: the syntax
files seem to have identical contents (cmp showed a difference but diff
didn't) and the value of $TERM doesn't seem to make any difference. 
Does anyone know a simple way to change this without recompiling?  If
not, a way to do it when recompiling?

Thanks,

- Barry Buchbinder

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: VIM Syntax Colors
  2001-07-20 20:50 VIM Syntax Colors Barry Buchbinder / Isabelle Trocheris
@ 2001-07-23 10:15 ` john mapoles
  0 siblings, 0 replies; 5+ messages in thread
From: john mapoles @ 2001-07-23 10:15 UTC (permalink / raw)
  To: Barry Buchbinder / Isabelle Trocheris; +Cc: cygwin

Under cygwin the vim colors are controlled by the file

/usr/share/vim/vim57/syntax/synload.vim

You could modify this file or override this mapping in
you .vimrc file.


--- Barry Buchbinder / Isabelle Trocheris
<bbuchbin@erols.com> wrote:
> In Win98, I use both Cygwin vim under bash and dos
> vim (from
> vim58d32.zip) under command.com in a DOS box.  The
> colors generated by
> syntax files are different in the two environments. 
> I would prefer that
> Cygwin vim look like DOS vim.  I've played around a
> bit: the syntax
> files seem to have identical contents (cmp showed a
> difference but diff
> didn't) and the value of $TERM doesn't seem to make
> any difference. 
> Does anyone know a simple way to change this without
> recompiling?  If
> not, a way to do it when recompiling?
> 
> Thanks,
> 
> - Barry Buchbinder
> 
> --
> Unsubscribe info:     
> http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: VIM Syntax Colors
@ 2001-07-24 14:26 Barry Buchbinder / Isabelle Trocheris
  0 siblings, 0 replies; 5+ messages in thread
From: Barry Buchbinder / Isabelle Trocheris @ 2001-07-24 14:26 UTC (permalink / raw)
  To: cygwin

That did the trick!  Thanks.

- Barry Buchbinder

> To: cygwin at cygwin dot com 
>      Subject: RE: VIM Syntax Colors 
>      From: Lee <vega@rhubarb.custard.org> 
>      Date: Tue, 24 Jul 2001 12:21:53 +0100 (BST) 
> 
> I use Vim on a variety of different machines and on a few
> different platforms. I found the colours in cygwin to be
> a bit too dark. Instead of figuring out how to remap the
> colours in the .vimrc I put this in instead:
> 
> set background=dark
> syntax on
> 
> Even if you have previously set the syntax to be on, or if
> not, you must do it after the background setting. This will
> force vim to set the colours that are better suited for
> dark backgrounds and not force vim to have a dark
> background. Now the colours look pretty much identical in
> DOS and cygwin.
> 
> Hope that helps.
> 
> ~Lee

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: VIM Syntax Colors
@ 2001-07-24  4:22 Lee
  0 siblings, 0 replies; 5+ messages in thread
From: Lee @ 2001-07-24  4:22 UTC (permalink / raw)
  To: cygwin

I use Vim on a variety of different machines and on a few different
platforms. I found the colours in cygwin to be a bit too dark. Instead of
figuring out how to remap the colours in the .vimrc I put this in instead:

set background=dark
syntax on

Even if you have previously set the syntax to be on, or if not, you must
do it after the background setting. This will force vim to set the colours
that are better suited for dark backgrounds and not force vim to have a
dark background. Now the colours look pretty much identical in DOS and
cygwin.


Hope that helps.


~Lee


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: VIM Syntax Colors
@ 2001-07-23  8:23 Schaible, Jorg
  0 siblings, 0 replies; 5+ messages in thread
From: Schaible, Jorg @ 2001-07-23  8:23 UTC (permalink / raw)
  To: cygwin

Hi Barry,

>Does anyone know a simple way to change this without recompiling?  If
>not, a way to do it when recompiling?

I have a text mount from /usr/share/vim to c:\program files\vim. This allows
me to share all those files with the standard Windows version especially
gvim. I just have to take care, that I will always use the same version of
vim for WIndows and Cygwin.

Greetings,
Jorg

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-24 14:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-20 20:50 VIM Syntax Colors Barry Buchbinder / Isabelle Trocheris
2001-07-23 10:15 ` john mapoles
2001-07-23  8:23 Schaible, Jorg
2001-07-24  4:22 Lee
2001-07-24 14:26 Barry Buchbinder / Isabelle Trocheris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).