Home > Archive > alt.os.linux > June 2002 > vi colors in RH 7.3





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author vi colors in RH 7.3
David Michaels

2002-06-24, 7:06 pm

Hi

How do I turn off the colors in vi. Do I need to re compile it? is there
a configuration file? termcap?

Thanks
David Michaels
Nils O. =?iso-8859-1?Q?Sel=E5sdal?=

2002-06-24, 7:06 pm

In article <3D06E6CA.1A8D5E50@email.uc.edu>, David Michaels wrote:
> Hi
>
> How do I turn off the colors in vi. Do I need to re compile it? is there
> a configuration file? termcap?
>
> Thanks
> David Michaels

put:
set syntax=
in your ~/.vimrc

Tom

2002-06-24, 7:07 pm

David Michaels wrote:

> Hi
>
> How do I turn off the colors in vi. Do I need to re compile it? is there
> a configuration file? termcap?
>
> Thanks
> David Michaels


its more likely vim not vi.... man vim will tell you where to go...

Steven Pasztor

2002-06-24, 7:07 pm

> How do I turn off the colors in vi. Do I need to re compile it? is there
> a configuration file? termcap?


While we're at it, how do I turn ON colours in vi? I'm running Debian, and
it has vim colour off by default, or so it seems.



Greg Donald

2002-06-24, 11:25 pm

On Thu, 13 Jun 2002, Steven Pasztor wrote:

>> How do I turn off the colors in vi. Do I need to re compile it? is there
>> a configuration file? termcap?

>
>While we're at it, how do I turn ON colours in vi? I'm running Debian, and
>it has vim colour off by default, or so it seems.


You just need a good .vimrc file:

syn on
set nocp
set nobk
set ai
set si
set ru
set sc
"set nu
set vb
set wmnu
set smd
set is
set ic
set scs
set noeb
set noet
set nosol
set bs=2
set shm=at
set ts=4
set sw=4
set ch=2
"set vbs=1
filetype plugin indent on


--
-----------------------------------------------------------------------
Greg Donald
http://destiney.com/public.key
-----------------------------------------------------------------------


Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net