I put them in the after directory:

.vim/after/ftplugin/tex.vim

to avoid modifying main.vim.

Hopefully it helps if .vimrc is not the right place IMAP should go.




On Wed, Dec 25, 2013 at 11:38 AM, Vandra <van...@rambler.ru> wrote:

> Dear developpers,
>
> Is it possible to make IMAP definitions not in
> /.vim/ftplugin/latex-suite/main.vim
> but just in ~/.vimrc?
> (actually my .vimrc source a file located in cloud so I have the same vim
> config on several computers)
> When I try to define a macros in ~/.vimrc:
> call IMAP (g:Tex_Leader.'R', "\\replaced[id=il]{<++>}{", 'tex')
> it says that IMAP command not found.
> Preceeding it by
> au FileType tex so ~/.vim/ftplugin/tex_latexSuite.vim
> does not help.
>
> Thank you
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to