From owner-freebsd-questions Thu Feb 10 18: 7:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by builder.freebsd.org (Postfix) with ESMTP id 1D0C84641 for ; Thu, 10 Feb 2000 18:07:33 -0800 (PST) Received: from nwlink.com (ip46.r5.d.bel.nwlink.com [207.202.173.46]) by smtp.nwlink.com (8.9.3/8.9.3) with ESMTP id SAA05393 for ; Thu, 10 Feb 2000 18:05:29 -0800 (PST) Message-ID: <38A36D58.3EC41702@nwlink.com> Date: Thu, 10 Feb 2000 18:00:56 -0800 From: R Joseph Wright X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Subject: c-mode in vi Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Awhile back I was using vi to write c++ programs and it had the cool feature of going into "c-mode" automatically whenever I entered [vi file.cpp]. It would do automatic indentation for me. About a month ago, I reinstalled my system, and vi no longer does this. I'm pretty sure I was using vim or vile, but i've tried vim, vile, elvis, and nvi and I can't get this feature to work anymore. Is there a script I can use to enable this feature? Also, I like the feel of vim but the backspace and delete keys are switched around. I can't use it like that. Anyone know how to fix that? -- R Joseph Wright I was getting out of a...I believe I was getting out of something. Bill Callahan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message