ad1

Friday, December 11, 2015

Text Object Motions in Vim (object-motions)

(   move to beginning of sentence;
)   move to end of sentence;

{   move to beginning of paragraph;
}   move to end of paragraph;

d)  delete up to end of sentence;
d}  delete up to end of paragraph;

A sentence is defined as ending at a '.', '!' or '?' followed by either the end of a line, or by a space or tab.  Any number of closing ')', ']', '"' and ''' characters may appear after the '.', '!' or '?' before the spaces, tabs or end of line.

No comments:

Post a Comment