editor.i

Command/Editor, Releases: AP and R83

Insert.

Syntax

i string i<return>

Description

places the editor into 'insert mode' for entering one or more lines.

Issuing a <return> at the first position of a line while in insert mode returns control to command mode.

Example

Inserting a single line:

.i string<return>
-or-
.i<return>
nnn+string<return>
nnn+<return>

Note the space between the 'i' command and the text being inserted.
Without it, this will not work.

Inserting a 'null' line:

.i <return>

Note the space following the 'i' command. Without it, this will not
work.

Multiple lines may be inserted, if each text 'string' (new line) is
delimited with an attribute mark (<ctrl>+{shift}^). (The shift is only
required when the up-arrow keyboard character is designated as a
'shifted' character):

.i newline1^newline2^newline3<return>

See Also

Command Name Type Description
editor.de Command Delete line(s).
editor.introduction Introductory The line-oriented editor.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.