Neovim's Tag Text Object

We previously learned about various text objects. In this section we learn how they can help us edit our documents.

Initial Conditions
<ul>
····<li>one</li>
····<li>two</li>
····<li>three</li>
</ul>
NORMAL
Top
1:1
 
Move the cursor
vit
<ul>
····<li>one</li>
····<li>two</li>
····<li>three</li>
</ul>
VISUAL
67%
4:19
 
Initial Conditions
<ul>
····<li>one</li>
····<li>two</li>
····<li>three</li>
</ul> 
NORMAL
83%
5:5
 
Move the cursor
vat
<ul>
····<li>one</li>
····<li>two</li>
····<li>three</li>
</ul> 
VISUAL
83%
5:5
 
Move the cursor (again)
<ul>
····<li>one</li>
····<li>two</li>
····<li>three</li>
</ul>
NORMAL
67%
4:5
 
Move the cursor (again)
vit
<ul>
····<li>one</li>
····<li>two</li>
····<li>three</li>
</ul>
VISUAL
67%
4:13
 
Move the cursor (again)
<ul>
····<li>one</li>
····<li>two</li>
····<li>three</li>
</ul>
NORMAL
67%
4:13
 
Move the cursor (again)
vat
<ul>
····<li>one</li>
····<li>two</li>
····<li>three</li>
</ul>
VISUAL
67%
4:18