Hi, you could also insert a literal line-break (code 13) in vim by typing "Ctrl+V, Enter". this willl show as ^M:
call IMAP('SSE', "\\begin{section}{<++>}^M<++>^M\\end{section}^M",'tex')
and I think I had to use those double-quotes too, for it to work.
best regards,
Bodo
Am Thu, 19 Jan 2012 09:09:39 +0100
schrieb Gerd Wachsmuth <[email protected]>:
| 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
| > [email protected]
| > 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
| [email protected]
| https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
|
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
