Questions tagged [vim-latex]

This tags deals with using TeX in Vim, in particular with the vim-latex-suite extension which provides a comprehensive set of tools to view, edit and compile LaTeX documents. Use this tag if the Vim editor or the LaTeX suite is relevant to your problem.

vim-latex (also known as latex-suite) is a Vim plugin which provides a comprehensive set of tools to view, edit and compile LaTeX documents. Using this tag is in general synonymous to .

Homepage: http://vim-latex.sourceforge.net

Github: https://github.com/vim-latex/vim-latex

182 questions
6
votes
2 answers

Vim-latex suite background compilation

I can't seem to find this option in the documentation. Is there a way to not freeze vim while the compilation is going on? What I would like is to say type "\ll" and have vim-latex run the compilation in the background, and provided there are…
hbetx9
  • 61
4
votes
0 answers

vim-latex: add new math environment

I am using vim latex-suite for writing, and I make extensive use of the tikzcd-environment for typesetting commutative diagrams. However, vim-latex does not recognize this as a math environment and e.g. highlights every caret sign as a syntax…
Bubaya
  • 2,279
3
votes
1 answer

vim latex-suite, type ... instead of `\ldots`

Vim latex suite automatically turns ... into \ldots This is nice in text, but when writing tikz figures, one often needs to write the like of (MWE): \documentclass[border =…
2
votes
1 answer

How to compile a file using vim-latex or vimtex?

How does one compile a .tex file from within vim using either vim-latex or vimtex? In both cases the documentation say to 'do' \ll, but I have no idea what this means. If I press : and then type \ll I get an error (E10: \ should be followed by /, ?…
Peter
  • 335
  • 2
  • 9
2
votes
0 answers

Vim Latex spellcheck accents (\ ')

I'm using vim and latex for my proyecs. In general I use English and Spanish. My problem is that in Spanish there are a lot of accents and for a "security" thing I prefer (and it's request in were I work) to write them using '. How can I make that…
mmazz
  • 31
  • 2
2
votes
1 answer

Vim LaTeX-Suite syntax highlighting seems wrong

The underscores and carrots are highlighted red which is really an eyesore. How can I change/remove this? The plugin works fine, so I don't think it's an installation issue. Update for more details: Vim 8.1, I doubt I have any conflicting plugins.…
2
votes
0 answers

How to suppress change of indentation after auto-completion in vim-latex-suite?

Whenever there's situation such as this, \begin{document} \section{Some section} \subsection{Creating processes and I close the brackets, it removes the indent of the line, like this: \begin{document} \section{Some section} …
2
votes
1 answer

Imperfect custom fold in vim-latex

I included the following custom fold in .vimrc let g:Tex_FoldedEnvironments = ',frame,block,algorithm' I have perfect folding of frame and block, but not for algorithm. It folds all the lines of algorithm except the last line \end{algorithm}. The…
kksagar
  • 313
2
votes
1 answer

Vim-latexsuite bibliography completion does not work

I am using the following files: test.tex: \documentclass{article} \usepackage{natbib} \bibliographystyle{dinat} \begin{document} \citet{s} \bibliography{test} \end{document} and test.bib: @article{six, title = "The Six -- a Boring…
2
votes
1 answer

Vim-latex's three character shortcut for align*

What is the shortcut in Vim-latex for the align* environment? For the regular align environment, I just type in EAL. I've tried a few combinations for align* but those did not work. Is there a three character shortcut for the align* environment (not…
2
votes
1 answer

Is there a way to quickly jump between equations in normal mode in vim-latex (suite)

I'm looking for a keystroke to jump to previous or next equation environment. Is there one in vim-latex suite?
2
votes
1 answer

How to jump to the next/prev section in vim-latex?

Could not quickly find the answer in google.
2
votes
1 answer

Key Macros in vim-latex

,, and are four default alt key macros in vim latex-suite. However, I cannot used it in my mac. It only types ¬ ∫ ç ˆ respectively. May I know how to make it work?
Joe
  • 481
2
votes
1 answer

VIM-LaTeX F5 package insertion problem

When I insert a package into my preamble in VIM-LaTeX using F5 and select for instance floatflt, instead of \usepackage{floatflt}, I often get the following. How can I solve this? <++>]{floatflt}"`usepackage[X
1
vote
1 answer

Error E992 re modeline when requesting help in MacVim

I just got Latex-suite properly installed and working, except when I do :help latex-suite.txt I get: "latex-suite.txt" [readonly] 3474L, 151620B Error detected while processing modelines: line 3473: E992: Not allowed in a modeline when…
perlboy
  • 11
1
2 3