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
NORMALTop1:1
Move the cursorvi"
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
VISUALTop1:32
Initial Conditions
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMALTop1:1
Move the cursorva"
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
VISUALTop1:33
Move the cursor (again)
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL50%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
VISUAL50%2:28
Move the cursor (again)
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL50%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
VISUAL50%2:29
Move the cursor (again)
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL75%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
VISUAL75%3:23
Move the cursor (again)
This·is·a·line·"with·quoted·text",
this·line·has·'single·quotes',
and·this·has·`backticks`·in·it
NORMAL75%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
VISUAL75%3:25