Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 11:58:30 +0300
From:      Giorgos Keramidas <charon@labs.gr>
To:        Martin Vana <martin.vana@vslib.cz>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: C programming in VIM
Message-ID:  <20011018115829.D1341@hades.hell.gr>
In-Reply-To: <000d01c1570c$546035e0$1198e693@kolej.vslib.cz>
References:  <000d01c1570c$546035e0$1198e693@kolej.vslib.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Vana <martin.vana@vslib.cz> wrote:
> 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

Other useful settings for C programs are:

	set autoindent
	set showmatch
	set textwidth=78
	set wrap

But you might find these useful or annoying, depending on your taste.
A quick tour through vim help will probably be the best thing to do.

-giorgos


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011018115829.D1341>