Vim-tex

From miki
Revision as of 09:16, 21 April 2023 by Mip (talk | contribs) (→‎Compile with Xelatex)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

We follow setup from Gilles Castel:

  • Plugin VimTex.
  • Plugin UltiSnips.
  • Some extra mappings.

References

Also on Hacker News.

...To be completed...

How-to

Compile with Xelatex

The simplest is to add the following lines at the beginning of the .tex file [1]:

% !TEX program = xelatex

or alternatively

% !TEX TS-program = xelatex

Another option is to change g:vimtex_compiler_latexmk variable [2].