When using the Latex-suite plugin in vim, typing
... expands to either
\cdots (see section 3.9 Smart Key Mappings of the latex-suite manual).
I am using a lot the amsmath package that provides
\dots, and I'd like to make
... expand to just
I tried putting
:call IMAP('...', '\dots','tex')
$VIM/after/ftplugin/tex_macros.vim but it does nothing.
How can I make
... expand to
Moreover, is there any way to do the above only if the amsmath package is detected?