Vim-Like Text Editors

VimTeX – Vim and Neovim filetype and syntax plugin

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
Click image for full size

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
LyXThe power and flexibility of TeX/LaTeX with an intuitive graphical interface
KBibTeXReference management software primarily for BibTeX
TeXstudioFully featured open source LaTeX editor
VimTeXVim and Neovim filetype and syntax plugin
TeXmacsWYSIWYG mathematical text editor using TeX fonts
JabRefGraphical frontend to manage BibTeX databases
BiberBibTeX replacement for users of BibLaTeX
TeXmakerIntegrates many different tools
TectonicModernised, self-contained TeX and LaTeX engine
TeXworksSimple front-end modeled on TeXShop
Atom-LaTeXTypesetting with GitHub's Atom text editor
SiSUDocuments - structuring, publishing in multiple formats and search
KileKDE Integrated LaTeX Environment
BibLaTexProgrammable bibliographies and citations
Enter TeXIntegrated LaTeX Environment for the GNOME desktop
AUCTeXEnvironment for editing LaTeX, ConTeXt, docTeX, Texinfo, and TeX files
TexMathsLaTeX equation editor for LibreOffice
SetzerFull-featured LaTeX editor
GummiSimple LaTeX editor
TexLabCross-platform implementation of the Language Server Protocol for LaTeX
PybliographerTool for managing bibliographic databases
LaTeXDrawGraphical drawing editor for LaTeX
KLatexFormulaUseful utility for creating images from LaTeX equations
HieroglyphicFind LaTeX symbols
Hand TeXHandwritten LaTeX symbol classifier

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments