If you’re trying to select the balanced HTML tag or Enclosing Tag in Textmate there is an article here that talks about it.
http://subtlegradient.com/articles/2007/11/15/select-balanced-html-tag.html
Unfortunately the article does not give a link to download. Try this out instead:
https://github.com/subtleGradient/SelectStuff.tmbundle
How to install your new textmate bundle?
Basically just extract the file you download and then go into each of the folder and double click on the tmbundle files.
http://manual.macromates.com/en/bundles
Also check out the HTML5 bundle:
https://github.com/subtleGradient/HTML5.tmbundle
One Response to Textmate: Select Balanced HTML Tag