Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 08:23:20 +0100
From:      Nik Clayton <nik@freebsd.org>
To:        Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
Cc:        doc@freebsd.org
Subject:   Re: For the vim users here
Message-ID:  <19991025082320.H2102@kilt.nothing-going-on.org>
In-Reply-To: <19991024203326.D17828@daemon.ninth-circle.org>; from Jeroen Ruigrok/Asmodai on Sun, Oct 24, 1999 at 08:33:26PM %2B0200
References:  <19991024203326.D17828@daemon.ninth-circle.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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