Re: editing vim help files

2011-04-22 Thread Charles Campbell
Adam Monsen wrote: On 04/20/2011 06:02 PM, Tim Chase wrote: While I don't know what other folks use, and I don't do it myself, this one-liner can be made into a :command! or mapped to make it pretty easy/straight-forward: :%s/^\(.*\)\>\s*\(\*[^*]*\*\)$/\=printf('%s%*s', submatch(1), (&tw?&

Re: editing vim help files

2011-04-21 Thread Adam Monsen
On 04/20/2011 06:02 PM, Tim Chase wrote: > While I don't know what other folks use, and I don't do it myself, > this one-liner can be made into a :command! or mapped to make it > pretty easy/straight-forward: > > :%s/^\(.*\)\>\s*\(\*[^*]*\*\)$/\=printf('%s%*s', submatch(1), > (&tw?&tw:80)-(strlen

Re: editing vim help files

2011-04-20 Thread Tim Chase
On 04/20/2011 04:12 PM, Adam Monsen wrote: Anyone handy with editing help files? I'm wondering how to align a title and tag, ala SPONSOR VIM DEVELOPMENT *sponsor* where the title is left-aligned and the tag right-aligned, on the same line. While I don't

editing vim help files

2011-04-20 Thread Adam Monsen
Anyone handy with editing help files? I'm wondering how to align a title and tag, ala SPONSOR VIM DEVELOPMENT *sponsor* where the title is left-aligned and the tag right-aligned, on the same line. The vim (built-in) help files seem consistent enough, I'm w