[Tex/LaTex] What does <++> signify when using Vim LatexSuite


I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc.

However, one of the things that it does is unknown to me, and is difficult to search for. If I type an empty set of braces, it replaces them with


If I type two empty sets, for example when I'm setting up a fraction \frac{}{} what I actually get is

\frac\left\{ } \right\}<++>}<++>

Is this a problem? What does <++> do?

Edit: This is using Vim-LaTex / LaTeX-Suite

Best Answer

The Vim-LaTex / LaTeX-Suite for Vim adds these markers automatically and by intension. You can jump to the next such marker using CTRL+J, which removes this marker. The idea is to speed things up by allowing you to jump to the end of the group or environment which was just added. This is also useful for templates where you can add <+name+> markers which then can be also accessed using the above key combination to insert the content.

You should be able to deactivate the auto-insertion of these markers using the command:

let g:Imap_UsePlaceHolders = 0

Related Question