This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: editing XML with vi clones (Re: "Abbreviated"DocBook)
- From: Rory Hunter <roryh at dcs dot ed dot ac dot uk>
- To: "Matt G." <matt_g_ at hotmail dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 15 Jan 2002 16:53:27 -0500
- Subject: Re: DOCBOOK-APPS: editing XML with vi clones (Re: "Abbreviated"DocBook)
- Organization: That'll be the day
- References: <F120r3SU0hXCRQcqmSv00006c22@hotmail.com>
> (As a matter of fact, I keep struggling with the idea of writing yet
> another vi clone that has the mode/programming capabilities of Emacs,
> and the efficiency of a vi-style command language. Oh, and the behavior
> of its command language would be *consistent*, which is a word Bill Joy
> apparently didn't know very well, when he wrote it.)
If it's any use, I've got some mods to the stock docbk.vim syntax file that
adds some additional highlighting to docbook files, making them more
pleasant to work with. I also find setting tabsize and such to 2 better,
but that's personal preference.
You can get a sort of completion using Ctrl-p after typing a couple of
chars of a word; keep pressing Ctrl-p and you'll cycle through all possible
completions based on the contents of the current file. See the help for
"completion" and "dictionary". I've not tried getting completion on tags to
work, but I may do so now...
--
roryh