Try

call IMAP('DEF', '\begin{definition}\<CR><++>\<CR>\end{definition}<++>',
'tex')

Regards
Gerd

On 01/18/2012 07:58 PM, abstractd wrote:
> How do I change the following
> call IMAP('DEF', '\begin{definition}<++>\end{definition}<++>', 'tex')
> (in my tex.vim) such that it adds an empty line between begin and end. That
> is, I want the result to be:
> \begin{definition}
> <++>
> \end{definition}<++>
> 
> I've tried a bunch of different things but I don't get it to work.
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> 
> 
> 
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to