VimTeX is a modern Vim and Neovim filetype and syntax plugin for LaTeX files.
This is free and open source software.
Key Features
- Document compilation with latexmk, latexrun, tectonic, or arara.
- LaTeX log parsing for quickfix entries using:
- internal method.
- pplatex.
- Compilation of selected part of document
- Support for several PDF viewers with forward search
- MuPDF.
- Okular.
- qpdfview.
- Skim.
- SumatraPDF.
- TeXShop.
- Zathura.
- Other viewers are supported through a general interface.
- Completion of:
- citations.
- labels.
- commands.
- file names for figures, input/include, includepdf, includestandalone.
- glossary entries.
- package and documentclass names based on available .sty and .cls files.
- Document navigation through:
- table of contents.
- table of labels.
- proper settings for ‘include’, ‘includexpr’, ‘suffixesadd’ and ‘define’, which among other things:
- allow :h include-search and :h definition-search.
- give enhanced gf command.
- Easy access to (online) documentation of packages.
- Word count (through texcount).
- Motions (link to GIF demonstrations):
- Move between section boundaries with [[, [], ][, and ]].
- Move between environment boundaries with [m, [M, ]m, and ]M.
- Move between math environment boundaries with [n, [N, ]n, and ]N.
- Move between frame environment boundaries with [r, [R, ]r, and ]R.
- Move between comment boundaries with [* and ]*.
- Move between matching delimiters with %.
- Text objects (link to GIF demonstrations):
- ic ac Commands.
- id ad Delimiters.
- ie ae LaTeX environments.
- i$ a$ Math environments.
- iP aP Sections.
- im am Items.
- Other mappings (link to GIF demonstrations):
- Delete the surrounding command, environment or delimiter with dsc/dse/ds$/dsd.
- Change the surrounding command, environment or delimiter with csc/cse/cs$/csd.
- Toggle starred command or environment with tsc/tse.
- Toggle inline and displaymath with ts$.
- Toggle between e.g. () and \left(\right) with tsd.
- Toggle (inline) fractions with tsf.
- Toggle line-break macro \\ with tsb.
- Close the current environment/delimiter in insert mode with ]].
- Add \left … \right) modifiers to surrounding delimiters with.
- Insert new command with F7.
- Convenient insert mode mappings for faster typing of e.g. maths.
- Context menu on citations (e.g. \cite{…}) mapped to cr.
- Improved folding (:h ‘foldexpr’).
- Improved indentation (:h ‘indentexpr’).
- Syntax highlighting:
- A consistent core syntax specification.
- General syntax highlighting for several popular LaTeX packages.
- Nested syntax highlighting for several popular LaTeX packages.
- Highlight matching delimiters.
- Support for multi-file project packages:
- import.
- subfiles.
Website: github.com/lervag/vimtex
Support:
Developer: Karl Yngve Lervåg
License: MIT License

VimTeX is written in TeX and VimScript. Learn TeX with our recommended free books. Learn VimScript with our recommended free books and free tutorials.
Related Software
| LaTeX Tools | |
|---|---|
| LyX | The power and flexibility of TeX/LaTeX with an intuitive graphical interface |
| KBibTeX | Reference management software primarily for BibTeX |
| TeXstudio | Fully featured open source LaTeX editor |
| VimTeX | Vim and Neovim filetype and syntax plugin |
| TeXmacs | WYSIWYG mathematical text editor using TeX fonts |
| JabRef | Graphical frontend to manage BibTeX databases |
| Biber | BibTeX replacement for users of BibLaTeX |
| TeXmaker | Integrates many different tools |
| Tectonic | Modernised, self-contained TeX and LaTeX engine |
| TeXworks | Simple front-end modeled on TeXShop |
| Atom-LaTeX | Typesetting with GitHub's Atom text editor |
| SiSU | Documents - structuring, publishing in multiple formats and search |
| Kile | KDE Integrated LaTeX Environment |
| BibLaTex | Programmable bibliographies and citations |
| Enter TeX | Integrated LaTeX Environment for the GNOME desktop |
| AUCTeX | Environment for editing LaTeX, ConTeXt, docTeX, Texinfo, and TeX files |
| TexMaths | LaTeX equation editor for LibreOffice |
| Setzer | Full-featured LaTeX editor |
| Gummi | Simple LaTeX editor |
| TexLab | Cross-platform implementation of the Language Server Protocol for LaTeX |
| Pybliographer | Tool for managing bibliographic databases |
| LaTeXDraw | Graphical drawing editor for LaTeX |
| latexindent.pl | Highly configurable formatter for LaTeX source code |
| tex-fmt | Fast formatter for LaTeX source files |
| Latexmk | Automates the process of compiling LaTeX documents |
| KLatexFormula | Useful utility for creating images from LaTeX equations |
| Hieroglyphic | Find LaTeX symbols |
| Hand TeX | Handwritten LaTeX symbol classifier |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.