[Vim-latex-devel] Redefine smart key mappings in vim's Latex-suite plugin
Brought to you by:
srinathava,
tmaas
|
From: George <geo...@gm...> - 2015-05-11 13:58:08
|
Hi all,
When using the Latex-suite plugin in vim, typing "..." (3 periods)
expands to either \ldots or \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 \dots.
I tried putting
:call IMAP('...', '\dots','tex')
in $VIM/after/ftplugin/tex_macros.vim but it does nothing.
How can I make "..." expand to \dots?
Moreover, is there any way to do the above only if the amsmath package
is detected?
Thanks a lot
|