On Mon, 21 Dec 2009 16:38:43 +0100
Manfred Lotz <[email protected]> wrote:


> 
> I use LaTeX Suite and when loading a .tex file those definitions
> vanish due to ~/plugin/imaps.vim which is part of LaTeX Suite.
> 
> In this case I would like to reestablish the above definitions. The
> only way I found is this
> 
> autocmd BufWinEnter *.tex   call IMAP("(","(<++>)",'')
> autocmd BufWinEnter *.tex   call IMAP("[","[<++>]",'')
> autocmd BufWinEnter *.tex   call IMAP("{","{<++>}",'')
>                                                         
> 
> It works but of course it is not exactly elegant. 
> 


It seems that leaving out the imap commands and adding like this

autocmd VimEnter *   call IMAP("(","(<++>)",'')
autocmd VimEnter *   call IMAP("[","[<++>]",'')
autocmd VimEnter *   call IMAP("{","{<++>}",'')  

seems quite ok.


-- 
Manfred


-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to