1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:50:04 +08:00
SpaceVim/docs/layers/lang/latex.md
2021-06-21 20:39:29 +08:00

1.9 KiB

title description
SpaceVim lang#latex layer This layer provides support for writing LaTeX documents, including syntax highlighting, code completion, formatting etc.

Available Layers >> lang#latex

Description

This layer is for LaTex development. vimtex is included in this layer.

Features

  • Code completion
  • Syntax highlighting
  • Syntax lint
  • English grammar checker

Install

To use this configuration layer, update your custom configuration file with:

[[layers]]
  name = "lang#latex"

To enable grammar checker, you need to install proselint which will be used by checkers layer.

Key bindings

Key bindings Descriptions
SPC l i vimtex-info
SPC l I vimtex-info-full
SPC l t vimtex-toc-open
SPC l T vimtex-toc-toggle
SPC l y vimtex-labels-open
SPC l Y vimtex-labels-toggle
SPC l v vimtex-view
SPC l r vimtex-reverse-search
SPC l l vimtex-compile
SPC l L vimtex-compile-selected
SPC l k vimtex-stop
SPC l K vimtex-stop-all
SPC l e vimtex-errors
SPC l o vimtex-compile-output
SPC l g vimtex-status
SPC l G vimtex-status-all
SPC l c vimtex-clean
SPC l C vimtex-clean-full
SPC l m vimtex-imaps-list
SPC l x vimtex-reload
SPC l X vimtex-reload-state
SPC l s vimtex-toggle-main