Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way (core or plugin) that a closing html tag name changes accordingly when renaming the opening one ? A behaviour similar to multi-selection...

share|improve this question
Are you looking for a way to change it, or is it happening you you and you don't know why? –  soandos Oct 19 '12 at 12:58

2 Answers 2

up vote 2 down vote accepted

The Zen coding plugin has a command "select matching tag name" which selects the nearest opening and closing tags relative to the cursor.

share|improve this answer
Perfect solution, I already had the zen plugin, but I never suspected that "select matching tag name" (ctr + shit + a on mac) would do the trick. Thanks ! –  Teenage Oct 21 '12 at 22:23
come to think of it, I really need a shit key too :) –  dharga Apr 9 at 14:29

The ZenCoding plugin has been discontinued, see the alternative: Emmet

Ctrl + Shift + ' // Rename tag shortcut (single quote)

Also available via Package Control, under the same name.

share|improve this answer
This seems have been changed to Super + Shift + K for OS X (see: github.com/sergeche/emmet-sublime/blob/…) –  chibicode Jun 26 '14 at 4:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.