Sign up ×
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

3 Answers 3

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

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

(Super) + Shift + K // Rename tag shortcut

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:…) – chibicode Jun 26 '14 at 4:25
Thanks for the solution chibicode, you should enter it as such. – Carles Alcolea Sep 13 at 1:42
edited answer with the correct shortcut – Luciano Oct 21 at 15:05
Thanks for the edit. – knownasilya Oct 21 at 15:25

Use the Emmet plugin shortcut key to rename tag in your editor:

[Super + Shift + K] on mac //In OSX environment, super key = Command key.
[Ctrl + Shift + '] on windows

It worked perfectly I already tested with sublime text

share|improve this answer

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.