Re: Scripting the enter key

2012-07-17 Thread Ben Fritz
On Monday, July 16, 2012 5:32:35 PM UTC-5, skeept wrote: By coincidence I was also trying to fix the problem that these two plugins conflict by both defining a imap for the enter key. The closest I got was to add the following to a file after/plugin/ imap lt;silentgt; lt;crgt;

Re: Scripting the enter key

2012-07-16 Thread Ben Fritz
On Monday, July 16, 2012 10:39:03 AM UTC-5, Douglas Mayle wrote: Hi all, I#39;m trying to write a function to make smarter line breaking when I split a pair of parentheses or braces.  For example, with the text: span style=font-family:#39;courier new#39;,monospacefunc (/spanu

Re: Scripting the enter key

2012-07-16 Thread Douglas Mayle
Thanks for the tip on expr, I hadn't known about it! Long story short, I was using 'autoclose' to do what delimitmate does, and was looking to add the CR expansion myself. It turns out that delimitmate does everything that autoclose does, with smarter handling of matching (e.g. dm: I'm versus

Re: Scripting the enter key

2012-07-16 Thread skeept
On Monday, July 16, 2012 4:13:23 PM UTC-5, Douglas Mayle wrote: Thanks for the tip on lt;exprgt;, I hadn#39;t known about it! /div Long story short, I was using #39;autoclose#39; to do what delimitmate does, and was looking to add the CR expansion myself.  It turns out that delimitmate