Reputation: 634
When I type two dollar signs $$ in insert mode in VIM it changes the text to $$<++>. What does this mean? And how do I make it no longer do this?
Upvotes: 4
Views: 992
Reputation: 392931
In general hunt for unknown/unwanted mappings with:
:verbose map $$
or
:verbose abbr $$
Not only will it tell you what mappings/abbreviations exist, but also where.
Upvotes: 1
Reputation: 230
This is a place holder inserted by the latex-suite plugin. You can jump to it with <C-j>
(Ctrl+J).
see "Place Holders" section here: http://vim-latex.sourceforge.net/documentation/latex-suite/latex-macros.html
Upvotes: 3
Reputation: 5963
Sounds like the latex-suite plugin (or something similar). Use :scriptnames
to see which plugins have been loaded.
Upvotes: 3
Reputation: 36262
May be an abbreviation or a map. Check
:ia
or
:imap
with a result like:
i $$ $$<++>
If found there, remove it with:
:inuabbrev $$
or with
:iunmap $$
Upvotes: 1