From owner-freebsd-newbies Thu Oct 18 1:58:46 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id DA03D37B405 for ; Thu, 18 Oct 2001 01:58:40 -0700 (PDT) Received: from hades.hell.gr (patr530-a181.otenet.gr [212.205.215.181]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f9I8wZl04577; Thu, 18 Oct 2001 11:58:36 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f9I8wW902333; Thu, 18 Oct 2001 11:58:32 +0300 (EEST) (envelope-from charon@labs.gr) Date: Thu, 18 Oct 2001 11:58:30 +0300 From: Giorgos Keramidas To: Martin Vana Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: C programming in VIM Message-ID: <20011018115829.D1341@hades.hell.gr> References: <000d01c1570c$546035e0$1198e693@kolej.vslib.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c1570c$546035e0$1198e693@kolej.vslib.cz> User-Agent: Mutt/1.3.22.1i X-GPG-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-URL: http://labs.gr/~charon/ Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Martin Vana 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