Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 1999 20:33:26 +0200
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        doc@freebsd.org
Subject:   For the vim users here
Message-ID:  <19991024203326.D17828@daemon.ninth-circle.org>

next in thread | raw e-mail | index | archive | help
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 <http://home.wxs.nl/~asmodai>;
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991024203326.D17828>