On Sun, Sep 11, 2011 at 06:55:23PM +0200, Daniel Sand wrote:
> Hi all,
> 
> can anyone recommend a good, simplistic script / solution for LaTeX folding 
> (*sections, figures, enumerations etc.)?

Check :help tex.vim. You can activate syntax based folding by:

  1. putting the line "let g:tex_fold_enabled=1" in your ~/.vimrc
  2. putting the line "setlocal foldmethod=syntax" in your
     ~/.vim/ftplugin/tex.vim file (create dirs and file if any is
     missing.)

-- 
Javier Rojas

GPG Key ID: 0x24E00D68

Attachment: signature.asc
Description: Digital signature

Reply via email to