Обсуждение: Colors in vim

Поиск
Список
Период
Сортировка

Colors in vim

От
Louie Kwan
Дата:
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

От
postgres@jal.org
Дата:
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.