sponsor Vim development Vim logo Vim Book Ad

tex-fold : Easy TeX folding

 script karma  Rating 6/3, Downloaded by 2661  Comments, bugs, improvements  Vim wiki

created by
Matthias Vogelgesang
 
script type
ftplugin
 
description
A light-weight alternative to vim-latexsuite's folding. It uses a simple foldexpr to capture \sections, \subsections and blocks defined with \begin and \end. However, you are not limited to the foldexpr method and can still define manual markers, e.g.

%{{{ Packages
\usepackage{hyperref}
%}}}
 
install details
Use either Pathogen, Vundle or NeoBundle, e.g. add

    Bundle 'matze/vim-tex.fold'

to your .vimrc or install manually using the standard Vim way. For more information have a look at

    http://vimdoc.sourceforge.net/htmldoc/usr_05.html#add-plugin
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-tex-fold-1.3.tar.gz 1.3 2014-09-01 7.0 Matthias Vogelgesang * Add g:tex_fold_additional_envs. Thanks @fwang2.
vim-tex-fold-1.2.tar.gz 1.2 2014-06-30 7.0 Matthias Vogelgesang * Fixes incompatibility issue with Vim 7.4
* Fold figure, tabular and align environments. Thanks @DanielAndreasen.
vim-tex-fold-1.1.tar.gz 1.1 2014-04-23 7.0 Matthias Vogelgesang * Fixes incompatibility issue with NERDcommenter.
vim-tex-fold-1.0.tar.gz 1.0 2013-08-22 6.0 Matthias Vogelgesang Initial upload
ip used for rating: 142.132.191.50

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github