Thread: Colors in vim

Colors in vim

From
Louie Kwan
Date:
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.

-LKwan

Re: Colors in vim

From
postgres@jal.org
Date:
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.