Change (c)

change lines

Syntax:

[line_range]c [text]

Description:

This command deletes the specified range of lines from the text buffer and places them in the line delete buffer. It then turns on option newline (n+) and opens up one line for input. If text is specified then that text will be placed at the start of the newly opened line.

The change command is functionally equivalent to a Delete (d) command followed by an Insert (i) command.

Current line:

Set to the address of the new line opened up.

Condition register:

Not affected.