Previous Topic: I (insert) CommandNext Topic: O (overlay) Command


M (move) Command

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. The syntax for the M (move) Command is:

M = number-of-lines

where:

number-of-lines—specifies the number of lines to be moved.

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.

Default: 1

The following are the rules that you can follow while using M (move) command: