[Django]-TextMate and Django Integration – Supporting {% %} markup

2👍

It’s possible – the Rails bundle does this for ERB (<% automatically gets closing %> tags).

So that’s a place you could go look.

1👍

I don’t think that’s possible, but the Django bundle for TextMate does allow you to insert the opening and closing tags in one go, placing the cursor in the middle, with ctrl-% (ctrl-shift-5).

Click the Bundles -> Python Django Templates menu to see all the shortcuts that are available.

Leave a comment