On 23-Oct-05 Zvezdan Petkovic wrote: > On Sat, Oct 22, 2005 at 11:45:50PM +0100, Ted Harding wrote: >> Well, if you're using vim ... > > I do. > >> First enter the following (in command mode) to define abbreviations: >> >> :ab <c <command >> [cut a lot of good advice] > > You mean something like > > iabbrev <buffer> <l programlisting<Esc>byiwi<<Esc>ea><inlinegraphic > \<CR> fileref="" > \<CR>format="linespecific"></<Esc>pa><Esc>-$h > >:-)
Yes I did! -- But the full depth was beyond me :-) > I have a full Vim plugin that contains not only the most frequently > used abbreviations, but also a function to enclose words in an > arbitrary chosen DocBook XML element chosen from a small narrow > buffer that opens on the right side of my Vim window with a list > of all DocBook elements. > It doesn't sing or dance though because I stopped working on it the > minute I lost interest in editing more DocBook documents. >:-) > > Best regards, > > Zvezdan Petkovic But thanks for showing the sort of thing that really is possible. Best wishes, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 23-Oct-05 Time: 09:42:14 ------------------------------ XFMail ------------------------------ _______________________________________________ Groff mailing list Groff@gnu.org http://lists.gnu.org/mailman/listinfo/groff