We were introduced to sentences when we learned about text objects. In this section we will learn a motion that allows us to navigate over one or more sentences at a time, which can be very handy when editing a group of sentences at the same time.
Command | Action |
---|---|
) | cursor N sentences forward |
( | cursor N sentences backward |
Lets see how this motion behaves, using the following buffer:
Initial Conditions
Knowledge·can·be·conveyed,·but·not·wisdom.·It·can·be·found,
it·can·be·lived,·it·is·possible·to·be·carried·by·it,·miracles
can·be·performed·with·it,·but·it·cannot·be·expressed·in·words
and·taught.
-·Siddhartha
NORMAL
Top
1:1
Move the cursor
)
Knowledge·can·be·conveyed,·but·not·wisdom.·It·can·be·found,
it·can·be·lived,·it·is·possible·to·be·carried·by·it,·miracles
can·be·performed·with·it,·but·it·cannot·be·expressed·in·words
and·taught.
-·Siddhartha
NORMAL
Top
1:44
Move the cursor (again)
)
Knowledge·can·be·conveyed,·but·not·wisdom.·It·can·be·found,
it·can·be·lived,·it·is·possible·to·be·carried·by·it,·miracles
can·be·performed·with·it,·but·it·cannot·be·expressed·in·words
and·taught.
-·Siddhartha
NORMAL
71%
5:1
Move the cursor (again)
)
Knowledge·can·be·conveyed,·but·not·wisdom.·It·can·be·found,
it·can·be·lived,·it·is·possible·to·be·carried·by·it,·miracles
can·be·performed·with·it,·but·it·cannot·be·expressed·in·words
and·taught.
-·Siddhartha
NORMAL
86%
6:1
Move the cursor (again)
)
Knowledge·can·be·conveyed,·but·not·wisdom.·It·can·be·found,
it·can·be·lived,·it·is·possible·to·be·carried·by·it,·miracles
can·be·performed·with·it,·but·it·cannot·be·expressed·in·words
and·taught.
-·Siddhartha
NORMAL
86%
6:12
First, note that these motions move to the next sentence, even if it is on another line.