We can select a text within an html
or xml
tag by using visual selection v
and text object it
.
ESC
vit
from anywhere within the html
or xml
sectiontag
All other text objects can also be used to operate on the text inside the tag
cit
- delete text inside the tag and place in insert
modedit
- delete text inside the tag and remain in normal
modecat
- delete around tag and place in insert
modedat
- delete text around the tag and remain in normal
mode