[TxMt] Repeating tabstops in snippet

Ed Singleton singletoned at gmail.com
Mon Oct 23 16:29:50 UTC 2006

Is it possible to have a repeating tabstop in a snippet?

for example it would be great to have a snippet to insert a html option list:

  <option value="$1">$2</option>

You tab to $1, fill in the value, tab to $2, fill in the content, then
when you press tab again, it inserts another option:

  <option value="1">Cherry</option>
  <option value="$3">$4</option>

And carries on doing so for an arbitrarily long time.

If it's possible to do this I'd be very grateful.



More information about the textmate mailing list