# lervag/vimtex

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/lervag-vimtex).**

6,293 stars · 413 forks · TeX · MIT

## Links

- GitHub: https://github.com/lervag/vimtex
- awesome-repositories: https://awesome-repositories.com/repository/lervag-vimtex.md

## Description

VimTeX is an integrated development environment for authoring and compiling LaTeX documents within Vim and Neovim. It functions as a comprehensive suite for technical document authoring, combining the roles of a syntax highlighter, document navigator, and autocompletion engine.

The plugin distinguishes itself through a coordinated workflow that manages asynchronous compilation and bidirectional synchronization with external PDF viewers. This allows users to jump between specific source locations and their rendered pages while maintaining a responsive editor interface during document production.

The system provides a broad range of capabilities for document intelligence and editing. This includes context-aware suggestions for citations and labels, a navigable table of contents for traversing large files, and specialized text objects that treat LaTeX environments and math zones as atomic units. It also parses compilation logs to map errors and warnings directly to the corresponding lines in the source code.

## Tags

### Development Tools & Productivity

- [LaTeX IDE Integrations](https://awesome-repositories.com/f/development-tools-productivity/latex-ide-integrations.md) — Provides a complete integrated development environment for authoring and formatting complex LaTeX documents within Vim and Neovim.
- [Vim Plugins](https://awesome-repositories.com/f/development-tools-productivity/vim-plugins.md) — Implements a comprehensive IDE for authoring and compiling LaTeX documents as an extension for Vim and Neovim.
- [Asynchronous Task Processing](https://awesome-repositories.com/f/development-tools-productivity/asynchronous-task-processing.md) — Manages long-running LaTeX compilation tasks in the background to keep the editor interface responsive.
- [Bidirectional Source Synchronization](https://awesome-repositories.com/f/development-tools-productivity/bidirectional-source-synchronization.md) — Provides bidirectional source synchronization between the editor and external PDF viewers for mutual navigation.
- [LaTeX Command Completion](https://awesome-repositories.com/f/development-tools-productivity/code-completion/command-line-and-terminal-completers/latex-command-completion.md) — Provides contextual suggestions for LaTeX packages, classes, and unicode glyphs. ([source](https://github.com/lervag/vimtex/blob/master/DOCUMENTATION.md))
- [Document Element Completions](https://awesome-repositories.com/f/development-tools-productivity/code-completion/document-element-completions.md) — Suggests completions for citations, labels, glossary entries, and included filenames. ([source](https://github.com/lervag/vimtex#readme))
- [Custom Text-Object Definitions](https://awesome-repositories.com/f/development-tools-productivity/custom-text-object-definitions.md) — Extends the editor's selection system to treat LaTeX environments and math zones as atomic units.
- [Environment Management Tools](https://awesome-repositories.com/f/development-tools-productivity/latex-linters/latex-syntax-analysis/environment-management-tools.md) — Provides specialized editing tools and syntax support to streamline authoring complex technical documents. ([source](https://github.com/lervag/vimtex#readme))
- [Syntax Highlighting](https://awesome-repositories.com/f/development-tools-productivity/latex-linters/latex-syntax-analysis/syntax-highlighting.md) — Provides advanced coloring and structural nesting for LaTeX source code and packages to improve readability.
- [LaTeX Synchronized Viewers](https://awesome-repositories.com/f/development-tools-productivity/latex-synchronized-viewers.md) — Synchronizes the text editor with a document viewer to jump between source locations and rendered pages. ([source](https://github.com/lervag/vimtex#readme))
- [LaTeX](https://awesome-repositories.com/f/development-tools-productivity/markdown-documentation-systems/document-navigators/latex.md) — Enables traversing sections and references via a table of contents and bidirectional source-to-PDF jumps.
- [Compilation Log Integration](https://awesome-repositories.com/f/development-tools-productivity/quickfix-list-navigation/quickfix-list-population/compilation-log-integration.md) — Parses external compilation logs to populate the editor's quickfix list with mapped errors and warnings. ([source](https://github.com/lervag/vimtex/blob/master/DOCUMENTATION.md))
- [Text Object Selection](https://awesome-repositories.com/f/development-tools-productivity/text-object-selection.md) — Provides specialized text objects for environments and math blocks for rapid document modification. ([source](https://github.com/lervag/vimtex#readme))
- [Context-Aware Suggestions](https://awesome-repositories.com/f/development-tools-productivity/type-aware-autocompletion/context-aware-suggestions.md) — Offers context-aware suggestions for LaTeX commands, citations, and labels based on the current cursor position.
- [Text Object Extensions](https://awesome-repositories.com/f/development-tools-productivity/vim-plugins/text-object-extensions.md) — Defines new text objects to allow precise selection and manipulation of LaTeX structural elements. ([source](https://github.com/lervag/vimtex/blob/master/DOCUMENTATION.md))
- [LaTeX Command Analysis](https://awesome-repositories.com/f/development-tools-productivity/custom-command-execution/configuration-file-command-execution/command-trigger-prefixes/chat-command-triggers/command-tree-parsing/latex-command-analysis.md) — Analyzes the surrounding text to determine the arguments and scope of specific LaTeX commands.
- [Documentation Navigation](https://awesome-repositories.com/f/development-tools-productivity/documentation-navigation.md) — Provides a navigable table of contents and jumping mechanisms to traverse large LaTeX documents.
- [Document Structure Navigators](https://awesome-repositories.com/f/development-tools-productivity/documentation-navigation/document-structure-navigators.md) — Provides hierarchical navigation between section boundaries, environments, and math blocks within LaTeX documents. ([source](https://github.com/lervag/vimtex#readme))
- [Automatic Table of Contents](https://awesome-repositories.com/f/development-tools-productivity/documentation-navigation/document-structure-navigators/outline-management/automatic-table-of-contents.md) — Displays a toggleable, automatically generated list of sections for quick inspection and navigation of the document. ([source](https://github.com/lervag/vimtex/blob/master/DOCUMENTATION.md))
- [Element Variant Toggles](https://awesome-repositories.com/f/development-tools-productivity/element-variant-toggles.md) — Allows quick switching between related LaTeX states, such as starred and non-starred environments. ([source](https://github.com/lervag/vimtex/blob/master/VISUALS.md))
- [File Indexing Utilities](https://awesome-repositories.com/f/development-tools-productivity/file-indexing-utilities.md) — Uses file-system indexing to build a navigable table of contents and a map of labels and references.
- [Document Indexing](https://awesome-repositories.com/f/development-tools-productivity/file-system-navigators/document-indexing.md) — Scans source files to build a navigable table of contents and a map of labels and references.
- [LaTeX Linters](https://awesome-repositories.com/f/development-tools-productivity/latex-linters.md) — Performs static analysis of LaTeX source to identify syntax and grammar errors. ([source](https://github.com/lervag/vimtex/blob/master/doc/vimtex.txt))
- [PDF Viewer Integrations](https://awesome-repositories.com/f/development-tools-productivity/pdf-viewer-integrations.md) — Integrates with third-party PDF software via command-line arguments to enable forward and backward search.
- [Regex-Based Syntax Highlighting](https://awesome-repositories.com/f/development-tools-productivity/regex-based-syntax-highlighting.md) — Uses regular expression pattern matching to apply coloring and nesting rules to complex LaTeX structures.
- [Scholarly Reference Navigators](https://awesome-repositories.com/f/development-tools-productivity/scholarly-reference-navigators.md) — Facilitates jumping between academic references, including citations, figures, and file-based include expressions. ([source](https://github.com/lervag/vimtex/blob/master/doc/vimtex.txt))
- [Surrounding Character Management](https://awesome-repositories.com/f/development-tools-productivity/surrounding-character-management.md) — Allows deleting or changing surrounding LaTeX commands and environments while preserving the enclosed content. ([source](https://github.com/lervag/vimtex/blob/master/VISUALS.md))
- [Syntax Transformation Utilities](https://awesome-repositories.com/f/development-tools-productivity/syntax-transformation-utilities.md) — Enables toggling between starred commands, inline math, and display math via dedicated shortcuts. ([source](https://github.com/lervag/vimtex#readme))
- [Custom Text-Object Definitions](https://awesome-repositories.com/f/development-tools-productivity/text-object-selection/custom-text-object-definitions.md) — Defines custom text objects that treat LaTeX environments and math zones as atomic units for selection.

### Content Management & Publishing

- [LaTeX Compilation Workflows](https://awesome-repositories.com/f/content-management-publishing/latex-compilation-workflows.md) — Provides an integrated LaTeX compilation workflow that processes source files and parses resulting error logs. ([source](https://github.com/lervag/vimtex#readme))

### Data & Databases

- [Log-to-Source Mapping](https://awesome-repositories.com/f/data-databases/data-ingestion-sources/source-metadata-capture/source-tracking/log-to-source-mapping.md) — Maps compilation log errors and warnings directly to the corresponding line numbers in the source code.
- [Structural Delimiter Detection](https://awesome-repositories.com/f/data-databases/delimited-data-parsers/automatic-delimiter-detection/structural-delimiter-detection.md) — Identifies and manipulates the boundaries of LaTeX environments and mathematical delimiters. ([source](https://github.com/lervag/vimtex/blob/master/DOCUMENTATION.md))

### User Interface & Experience

- [Syntax Highlighters](https://awesome-repositories.com/f/user-interface-experience/syntax-highlighters.md) — Provides advanced syntax highlighting with hierarchical coloring rules for LaTeX source and package structures.

### Software Engineering & Architecture

- [Asynchronous Task Orchestration](https://awesome-repositories.com/f/software-engineering-architecture/asynchronous-task-orchestration.md) — Implements asynchronous task orchestration to handle background compilation without freezing the editor interface.
- [Structural Folding](https://awesome-repositories.com/f/software-engineering-architecture/code-edit-formats/structural-folding.md) — Collapses LaTeX environments and structural elements to simplify navigation of large files. ([source](https://github.com/lervag/vimtex/blob/master/DOCUMENTATION.md))
- [Compiler Error Navigation](https://awesome-repositories.com/f/software-engineering-architecture/error-handling/error-management/compiler-error-navigation.md) — Maps LaTeX compilation errors from log files directly back to specific lines in the source code. ([source](https://github.com/lervag/vimtex/blob/master/test/example-quick-start/main.tex))
- [Regular Expression-Based Parsing](https://awesome-repositories.com/f/software-engineering-architecture/regular-expression-based-parsing.md) — Employs regular expression-based parsing to identify LaTeX commands and their associated argument scopes.

### Part of an Awesome List

- [Editor Plugins](https://awesome-repositories.com/f/awesome-lists/devtools/editor-plugins.md) — Modern Vim plugin featuring live preview and forward search.
