-
Background compilation using latexmk;
-
Completion for commands, environments, labels, and bibtex entries;
-
A simple table of contents;
-
Smart indentation;
-
Highlight matching \begin/\end and \left\right pairs;
-
Motion between \begin/\end and \left\right pairs with the % key;
-
Motion through brackets/braces (with user-defined keys);
-
Environment objects (e.g., select environement with "vie" or "vae");
-
Inline math objects (e.g., select inline math with "vi$" or "va$").
-
Folding of part/chapter/section/subsection
-
OmniCompletion for bibliography entries respects BibLaTeX's
\addbibresource,\addglobalbiband\addsectionbibcommands. -
The table of contents functionality does not depend anymore on the assumption that
\@writefile{toc}{\contentsline ...}entries in the*.auxfile always occur at the start of some line. -
Completion of
\ref{...}commands was completely rewritten. It is now able to handle\@newlabel{label}{{number}{page}...}entries in the*.auxfile even ifnumberorpagecontain arbitrary nested levels of braces.Labels are additionally held in a cache per
*.auxfile, which is updated only if the modification time of the file changes. -
The table of contents now opens files different from the one currently being edited in a new buffer. (I actually think, that this behaviour was implemented already, but I could not get it working.) To make this work, LaTeX-Box is not loaded per buffer but globally.
This plugins aims at being lightweight and simple. For more fully-fledged plugins, see:
- LaTeX-Suite: vimscript#475
- AutomaticTexPlugin: vimscript#2945
https://github.com/gmarik/vundle
Add Bundle 'LaTeX-Box-Team/LaTeX-Box' to your ~/.vimrc and run
:BundleInstall in a vim buffer. Add ! to the command to update.
Copy the directories to your .vim/ folder.
This is mirrored on
