[TxMt] Start/end tag from previous word (ctr+cmd+space)

Andreas Wahlin andreaswahlin at bredband.net
Sun Sep 25 09:39:28 UTC 2005


I find this macro quite useful, but it has some quirks (I think).
First, I love how it takes img tags and makes them <img /> rather  
than <img></img>.
When I apply it on a li-tag, and then hit enter, I get a nicely  
formated line break with a tab indentation
<li>
   |
</li>

but when I do the same on a h1 tag, the result becomes
<h1>
|</h1>

How, why, fix, please et cetera.

Andreas



More information about the textmate mailing list