Re: Colors in vim

From: postgres(at)jal(dot)org
To: Louie Kwan <lkwan(at)nuvo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Colors in vim
Date: 2004-03-09 16:35:43
Message-ID: 20040309163542.GB14703@clueinc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)jal(dot)org
Don't anthropomorphize computers. They hate that.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Frédéric Médery 2004-03-09 19:24:01 migration from postgresql-7.2. to 7.4.1 : invalid command \n
Previous Message Louie Kwan 2004-03-09 16:14:39 Colors in vim