On Tue, Aug 30, 2011 at 9:33 PM, Ted Pavlic <t...@tedpavlic.com> wrote:
>> Adding them to folding.vim like this:
>
> Hm. I wouldn't do it that way.
>
> I add mine to .vimrc. That overrides the defaults in folding.vim (and
> prevents having to worry about problems after uprgrading).
>
> In particular, I do:
>
> let g:Tex_FoldedSections =
> 'top,%%faketop,part,%%fakepart,chapter,%%fakechapter,'
>                            \. 'section,%%fakesection,'
>                            \. 'subsection,%%fakesubsection,'
>                            \. 'subsubsection,%%fakesubsubsection,'
>                            \. 'paragraph,%%fakeparagraph'
>
> let g:Tex_FoldedMisc = 'preamble,item,<<<'
> let g:Tex_FoldedEnvironments = ',slide,wideslide,emptyslide,note'
>
> You should be able to do something similar. The above works for me, and
> I think I'm using the stock distribution from the git repository.
>
> --Ted
>

Oh hey, I found your web page while googling for a solution, and
replaced folding.vim with

http://www.tedpavlic.com/research_related/tpavlic_masters_thesis/folding.vim

But I'll try your vimrc-solution next, not worrying about upgrades
seems more elegant. Thanks!

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to