From owner-freebsd-doc Mon Oct 25 13:49:39 1999 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 15C95152DF for ; Mon, 25 Oct 1999 13:47:32 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: from kilt.nothing-going-on.org (kilt.nothing-going-on.org [192.168.1.18]) by nothing-going-on.demon.co.uk (8.9.3/8.9.3) with ESMTP id VAA61013; Mon, 25 Oct 1999 21:01:20 +0100 (BST) (envelope-from nik@catkin.nothing-going-on.org) Received: (from nik@localhost) by kilt.nothing-going-on.org (8.9.3/8.9.3) id IAA05411; Mon, 25 Oct 1999 08:23:20 +0100 (BST) (envelope-from nik@catkin.nothing-going-on.org) Date: Mon, 25 Oct 1999 08:23:20 +0100 From: Nik Clayton To: Jeroen Ruigrok/Asmodai Cc: doc@freebsd.org Subject: Re: For the vim users here Message-ID: <19991025082320.H2102@kilt.nothing-going-on.org> References: <19991024203326.D17828@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19991024203326.D17828@daemon.ninth-circle.org>; from Jeroen Ruigrok/Asmodai on Sun, Oct 24, 1999 at 08:33:26PM +0200 Organization: FreeBSD Project Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Oct 24, 1999 at 08:33:26PM +0200, Jeroen Ruigrok/Asmodai wrote: > I have been discussing this with Neil and from his old example I came up > with this, IMHO, FreeBSD-doc compliant SGML edit mode. > > So us vim users don't have to listen to those emacs whiners about how > great psgml is ;) > > Here goes: > > augroup sgmledit > " Remove all sgmledit autocommands > autocmd! > autocmd FileType sgml set formatoptions=cq2l > autocmd FileType sgml set textwidth=70 shiftwidth=2 > autocmd FileType sgml set softtabstop=2 tabstop=8 > autocmd FileType sgml set autoindent > augroup END > > This will make a lot of people's life easier I hope. Any additions, comments, > let me, and the list know. Stuff like this should probably be added to (a) the Primer (b) doc/share/examples/vim, or a similar directory. Thoughts? N To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message