Previous Topic: I (insert) CommandNext Topic: R (repeat) Command


M (move) Command

M[number-of-lines]

where:

number-of-lines-specifies the number of lines to be moved. The default is 1.

M-specifies a single line to be moved.

Mn-specifies the first of n lines to be moved.

MM...MM-specifies the first and last lines of a block.

Use the M (move) command to move a line or block of lines. The B (before) or A (after) line commands are used to specify the destination of the lines to be moved. No other commands can be entered on the lines to be moved.

Rules for Using the Move Line Command