[TxMt] snippet and command questions (toggle comments, hard-wrap, etc.)

James Edward Gray II james at grayproductions.net
Wed Oct 4 16:21:17 UTC 2006


On Oct 4, 2006, at 10:53 AM, Jason Moore wrote:

> one other concept i'm trying to get - is how to replace existing  
> text. e.g.
>
> "h1 [tab] Welcome" gives me:
> <h1 id="welcome">Welcome</h1>
>
> good. but is there an easy way to change it to:
> <h2 id="welcome">Welcome</h2>
> or
> <div id="welcome">Welcome</div>
> ?

OK, you slowed me down with that one.  ;)

I can't think of an out-of-the-box solution for this one.  I believe  
you will need to build a command for this.

James Edward Gray II




More information about the textmate mailing list