pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: postgres@jal.org
To: Louie Kwan <lkwan@nuvo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Colors in vim
Date: Tue, 9 Mar 2004 11:35:43 -0500
Message-ID: <20040309163542.GB14703@clueinc.net> (raw)
In-Reply-To: <FB4FDC17A002D711BC0C009027DE84AF027F6C17@EXCHANGE.nuvo.com>
References: <FB4FDC17A002D711BC0C009027DE84AF027F6C17@EXCHANGE.nuvo.com>

On Tue, 09 Mar 2004, Louie Kwan wrote:

> Not a PGSQL question..
> 
> When I use vim, my xterm is all highlighted with many different color..
> 
> How can I turn the coloring off.
> 
> Sorry to ask the vim question here.

Numerous ways.

In a session:

:syntax off

Presumably, you're using files with a file extension that is tripping
the coloring highlights, probably provided by your OS. You can turn them
off globally by adding a syntax command to your .vimrc. (It could be 
that you're editing files with embedded hints, or several other things.) 
See

http://vimdoc.sourceforge.net/htmldoc/syntax.html#syntax

for more details, or start with 

:help syntax

within vim.

-j

-- 
Jamie Lawrence                                        jal@jal.org
Don't anthropomorphize computers. They hate that.





view thread (2+ messages)

Message-ID: <20040309163542.GB14703@clueinc.net>
Permalink:  ../20040309163542.GB14703@clueinc.net/
Also on:    postgresql.org/message-id/20040309163542.GB14703@clueinc.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: postgres@jal.org, lkwan@nuvo.com
  Subject: Re: Colors in vim
  In-Reply-To: <20040309163542.GB14703@clueinc.net>
  References: <FB4FDC17A002D711BC0C009027DE84AF027F6C17@EXCHANGE.nuvo.com> <20040309163542.GB14703@clueinc.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox