We previously learned about various text objects. In this section we learn how they can help us edit our documents.
Initial Conditions
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL
Top
1:1
Move the cursor
vi"
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
VISUAL
Top
1:32
Initial Conditions
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL
Top
1:1
Move the cursor
va"
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
VISUAL
Top
1:33
Move the cursor (again)
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL
50%
2:1
Move the cursor (again)
vi'
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
VISUAL
50%
2:28
Move the cursor (again)
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL
50%
2:28
Move the cursor (again)
va'
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
VISUAL
50%
2:29
Move the cursor (again)
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL
75%
3:1
Move the cursor (again)
vi`
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
VISUAL
75%
3:23
Move the cursor (again)
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL
75%
3:23
Move the cursor (again)
va`
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
VISUAL
75%
3:25