According to John P. Looney:
> and I wanted to change that indexterm tag, I would delete it & type in
> the macro (",index" at the moment).
>> ,index<primary>Patches</primary><secondary>settings</secondary></indexterm>
>> this will give;
>> <indexterm <primary>Patches</primary><secondary>settings</secondary></indexterm> id="i-5947-3b12-1012825371">
>> Which a "J" won't help. I need to be able to read in between the ",index"
> and the "<primary>". Just seems to be a major shortcoming in Vim.
So change your macro:
Insert a newline
Cursor up (to get back to where you were)
Run shell command and insert
Join the lines together
Delete the extraneous space that J puts in (IIRC)
Cheers,
Waider.
--
waider at dspsrv.com / Chances are I'm not at home right now.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!