From owner-freebsd-questions Thu Mar 8 15: 5:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fac13.ds.psu.edu (fac13.ds.psu.edu [146.186.61.98]) by hub.freebsd.org (Postfix) with ESMTP id 7CCE237B719 for ; Thu, 8 Mar 2001 15:05:48 -0800 (PST) (envelope-from hawk@fac13.ds.psu.edu) Received: from fac13.ds.psu.edu (localhost [127.0.0.1]) by fac13.ds.psu.edu (8.11.1/8.11.1) with ESMTP id f28N0oW59932; Thu, 8 Mar 2001 18:00:50 -0500 (EST) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200103082300.f28N0oW59932@fac13.ds.psu.edu> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Christopher Farley Cc: Andrew Hesford , freebsd-questions@FreeBSD.ORG Subject: Re: vim highlighting in a regular xterm? In-Reply-To: Your message of "Thu, 08 Mar 2001 16:14:14 CST." <20010308161412.A62961@northernbrewer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Mar 2001 18:00:50 -0500 From: hawk Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Christopher called, > hawk (hawk@fac13.ds.psu.edu) wrote: > > > I wasn't aware that vim handled code indent, it never worked for me in > > > C. > > There seem to be suggestions that it does, but I haven't been > > successful . . . > Do you have 'set ai' in your .vimrc? Yes, I have that one. What I'm after, though, is to automatically indent the next line by another three spaces after a do, and to come back 3 spaces after an end do, and the like. emacs does this, which meant I fell into a habit of writing in emacs and editing in vim . . . but I'd like to get away from emacs entirely (I don't even have it installed on this machine at the moment . . .) rick -- Prof. Richard E. Hawkins, Esq. Smeal 178 (814) 375-4700 dochawk@psu.edu These opinions will not be those of Penn State until it pays my retainer. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message