From owner-freebsd-newbies  Fri Oct 19  9:58:56 2001
Delivered-To: freebsd-newbies@freebsd.org
Received: from inf.ufpr.br (caco.inf.ufpr.br [200.17.212.164])
	by hub.freebsd.org (Postfix) with SMTP id EC35D37B409
	for <freebsd-newbies@FreeBSD.ORG>; Fri, 19 Oct 2001 09:58:53 -0700 (PDT)
Received: (qmail 3597 invoked from network); 19 Oct 2001 16:58:46 -0000
Received: from dupont.inf.ufpr.br (lfsb01@200.17.212.160)
  by caco.inf.ufpr.br with SMTP; 19 Oct 2001 16:58:46 -0000
Date: Fri, 19 Oct 2001 14:58:51 -0200 (BRST)
From: Leonardo Boiko <lfsb01@inf.ufpr.br>
To: Giorgos Keramidas <charon@labs.gr>
Cc: Martin Vana <martin.vana@vslib.cz>, freebsd-newbies@FreeBSD.ORG
Subject: Re: C programming in VIM
In-Reply-To: <20011018115829.D1341@hades.hell.gr>
Message-ID: <Pine.LNX.4.21.0110191457030.12001-100000@dupont.inf.ufpr.br>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-newbies@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-newbies.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-newbies>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-newbies>
X-Loop: FreeBSD.org

> > Hi,
> > is there any plugin or whatever that changes vim's enivromemet 
> > to higlight/colour C/C++ syntax?
> 
> Well, you can enable syntax highlighting in your .vimrc with:
> 
> 	syntax on
> 
You can also do it while editing the file, just type
:syntax on
or
:syntax off
to disable. Actually, it'll also work with HTML, shell scripts, 
configuration files, other programming languages and more.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message