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...

  • 1
    Are you looking for a way to change it, or is it happening you you and you don't know why?
    – soandos
    Oct 19, 2012 at 12:58

4 Answers 4


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


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.


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


You can also add this command to userKeyBindings:

{"keys": ["your key bind.."], "command": "rename_tag"} // like super+shift+k

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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