Re: Colors in vim - Mailing list pgsql-admin

From postgres@jal.org
Subject Re: Colors in vim
Date
Msg-id 20040309163542.GB14703@clueinc.net
Whole thread Raw
In response to Colors in vim  (Louie Kwan <lkwan@nuvo.com>)
List 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@jal.org
Don't anthropomorphize computers. They hate that.



pgsql-admin by date:

Previous
From: "Anjan Dave"
Date:
Subject: Re: Transaction logs gone, how to restart?
Next
From: Greg Spiegelberg
Date:
Subject: syslog slowing the database?