Javier Mediavilla Vegas wrote:
Hi,
Maybe I messup things.
I want to extract tags in my documents. Tags are present in the format the vim 
help files are.

Example
        *tag1* *tag2*

Here, there is two options to extract the tags and I have tested both of them.
1. :helptags. It is a vim built-in function to extract the tags but only works for ".txt" 
and ".??x" file extensions.
    My files do not have that extension so I can't use it. I have searched for 
an option to change but I haven't found it.

You can do it with helptags, if you write some script.

  * move your help file to same YOURFILE.txt
  * apply helptags
  * move YOURFILE.txt back to YOURFILE.MAN
* change the resulting <tags> file, using sed: sed -e 's/\.txt/\.MAN/' tags

You could also do the substitute with vim itself if you'd prefer.

Regards,
C Campbell

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to