Two dollar signs in insert mode in VIM

When I enter two dollar signs $$ in insert mode in VIM, it changes the text to $$ <++>. What does it mean? And how can I do this anymore?

+4
source share
4 answers

This is the place inserted by the latex package plugin. You can go to it with <Cj> ( Ctrl + J ).

see the "Place Holders" section here: http://vim-latex.sourceforge.net/documentation/latex-suite/latex-macros.html

+3
source

Sounds like a latex-suite plugin (or something similar). Use :scriptnames to see which plugins have been loaded.

+3
source

It can be an abbreviation or a map. Check out

 :ia 

or

 :imap 

with a result like:

 i $$ $$<++> 

If it is found, delete it with:

 :inuabbrev $$ 

or

 :iunmap $$ 
+1
source

Usually a hunt for unknown / unwanted mappings:

 :verbose map $$ 

or

 :verbose abbr $$ 

Not only will he tell you which mappings / abbreviations exist, but also where .

+1
source

Source: https://habr.com/ru/post/1387179/


All Articles