I would like, using vim-surround to convert this
<p> ^currsor Issues reported by users from the <a href="https://re.fr"> https://re.fr</a> they will create an issue. </p>
into that
<h1 class="important"> Issues reported by users from the <a href="https://re.fr"> https://re.fr</a> they will create an issue. </h1>
I've been using in command mode: cs<<h1 class="important"> and I get
cs<<h1 class="important">
<h1 class="important">p</h1> ^currsor Issues reported by users from the <a href="https://re.fr"> https://re.fr</a> they will create an issue. </p>
you can just do ...
cst<h1 class="important">
"change surrounding tag "
2.1m questions
2.1m answers
60 comments
57.0k users