Neovim's Word Text Object


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

Editing words and WORDS

Initial Conditions
This·is·a·line·with·sample·text.
This·line·has·other·types/kinds·of·words·(and·WORDS)!
 
This·is·a·new·paragraph.·This·is·another·sentence.
And·this·is·another·line.
NORMAL33%2:16
 
Move the cursorviw
This·is·a·line·with·sample·text.
This·line·has·other·types/kinds·of·words·(and·WORDS)!
 
This·is·a·new·paragraph.·This·is·another·sentence.
And·this·is·another·line.
VISUAL33%2:19
 
Move the cursor (again)
This·is·a·line·with·sample·text.
This·line·has·other·types/kinds·of·words·(and·WORDS)!
 
This·is·a·new·paragraph.·This·is·another·sentence.
And·this·is·another·line.
NORMAL33%2:21
 
Move the cursor (again)viw
This·is·a·line·with·sample·text.
This·line·has·other·types/kinds·of·words·(and·WORDS)!
 
This·is·a·new·paragraph.·This·is·another·sentence.
And·this·is·another·line.
VISUAL33%2:25
 
Initial Conditions
This·is·a·line·with·sample·text.
This·line·has·other·types/kinds·of·words·(and·WORDS)!
 
This·is·a·new·paragraph.·This·is·another·sentence.
And·this·is·another·line.
NORMAL33%2:16
 
Move the cursorviW
This·is·a·line·with·sample·text.
This·line·has·other·types/kinds·of·words·(and·WORDS)!
 
This·is·a·new·paragraph.·This·is·another·sentence.
And·this·is·another·line.
VISUAL33%2:19
 
Move the cursor (again)
This·is·a·line·with·sample·text.
This·line·has·other·types/kinds·of·words·(and·WORDS)!
 
This·is·a·new·paragraph.·This·is·another·sentence.
And·this·is·another·line.
NORMAL33%2:21
 
Move the cursor (again)viW
This·is·a·line·with·sample·text.
This·line·has·other·types/kinds·of·words·(and·WORDS)!
 
This·is·a·new·paragraph.·This·is·another·sentence.
And·this·is·another·line.
VISUAL33%2:31