LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] vim folding & docbook

[ILUG] vim folding & docbook

Waider waider at dspsrv.com
Mon Feb 4 12:29:15 GMT 2002


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.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell