Folding Vim's help files.

2010-01-09 Thread Chris Jones
The latex-suite help files provide per-section folding making it both pleasurable and effective to read them 'cover to cover' in Vim. It's as simple as ':h latex-suite' + 'zm', and you're presented with an outline that fits on one screen, giving you a clear picture of the structure of the

Re: Folding Vim's help files.

2010-01-09 Thread Chris Jones
On Sat, Jan 09, 2010 at 07:49:54AM EST, Christian Brabandt wrote: Hi Chris! On Sa, 09 Jan 2010, Chris Jones wrote: [..] I'm currently reading the VIM USER MANUAL and I was curious whether I could implement something comparable, without adding some modeline magic to the files in

Re: Folding Vim's help files.

2010-01-09 Thread Chris Jones
On Sat, Jan 09, 2010 at 12:28:06PM EST, Chris Jones wrote: On Sat, Jan 09, 2010 at 07:49:54AM EST, Christian Brabandt wrote: [..] ,[ ~$ cat ~/.vim/after/ftplugin/help.vim ]- | setl fdm=expr | setl