From owner-freebsd-doc Sun Oct 24 11:38:47 1999 Delivered-To: freebsd-doc@freebsd.org Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.60]) by hub.freebsd.org (Postfix) with ESMTP id CF3CC150CD for ; Sun, 24 Oct 1999 11:38:38 -0700 (PDT) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.197.71]) by smtp02.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA58E5 for ; Sun, 24 Oct 1999 20:38:33 +0200 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id UAA19088 for doc@freebsd.org; Sun, 24 Oct 1999 20:33:26 +0200 (CEST) (envelope-from asmodai) Date: Sun, 24 Oct 1999 20:33:26 +0200 From: Jeroen Ruigrok/Asmodai To: doc@freebsd.org Subject: For the vim users here Message-ID: <19991024203326.D17828@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. Cheers, -- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl The BSD Programmer's Documentation Project Network/Security Specialist BSD: Technical excellence at its best To do injustice is more disgraceful than to suffer it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message