[n] operator [m] object
The basic editing operators are:
- c
Begin a change
- d
Begin a deletion
- y
Begin a yank (or copy)
If the current line is the object of the operation, then the operator
is the same as the object: cc, dd, yy.
Otherwise, the editing operators act on
objects specified by cursor-movement commands or
pattern-matching commands.
n and m are the number of times the operation is performed or the
number of objects the operation is performed on. If both n and m
are specified, the effect is n × m.
An object can represent any of the following text blocks:
- word
Includes characters up to a space or punctuation mark. A capitalized object is a variant form that recognizes only blank spaces.
- sentence
Extends to ., !, ? followed by two spaces.
- paragraph
Extends to next blank line or nroff/troff paragraph macro (defined
by para= option).
- section
Extends to next nroff/troff section heading (defined by sect= option).