Changing Text
The [c] operator replaces existing text with new text that you enter.
The new text does not have to occupy the same amount of space as the
existing text. You may change one word to several words or a paragraph
to a single character. The change operator [c] places a $ at the end of
the text specified by the Unit of Measure and places "vi" in
Insert Mode. Finish the change by
pressing [ESC]. Below is a list of some useful change commands with
their Units of Measure:
- cw
- change to end of word
- c3w
- change to end of third word
- cb
- change to beginning of word
- cc
- change the current line
- 5cc
- change 5 lines starting with the current line
Click here to go to the next section.
Or click here to go to the top of
the chapter.