Vim
Operators and Motions
- Operator --> Number --> Motion
operator (Verb)
- what we are doing
- ex. -
d,c,y,f,tf#/F#- (mn. find)- inclusively go to first occurrence of
#in the line ;to cycle through,,to go backwards
- inclusively go to first occurrence of
t#/T#- (mn. til)- exclusively go to first occurrence of
#in the line
- exclusively go to first occurrence of
Modifier
- more specific information about the modifier
- ex. -
i(inside),a(around)
Combine with numbers to further specify text objects
- ex. -
d2f:- delete until the second:character - ex. -
d2/:<cr>- delete until the second:character
motion (noun) - what we are operating on
- ex. -
$,0,w,e,b
Children