Sublime Forum

Remove HTML tags at cursor position

#1

I want to achieve this:
I place my cursor on an HTML tag (opening or closing tag, no matter), then press a hotkey to remove these tags (both opening and the matching closing tag). Is there any plugin for this job?

0 Likes

#2

Inside the content of the tag you could do CTRL+SHIFT+A to expand selection to the tag. This can be convenient when you for example want to change a DIV into a SPAN.

Also you can consider the tag package and assign your own hotkeys: github.com/SublimeText/Tag.

0 Likes