M - Move lines to buffer.

Syntax:

M(bufname)

Examples:

m(buf)
4m(xyz)
3,$mx

Description:

M moves one or more lines out of the current buffer and into buffer (bufname). Whatever was previously in (bufname) is destroyed.

If you do not specify an address, M moves the current line. If you specify one address, M moves that line instead of the current one. If you specify two addresses, M moves all the lines between and including the given lines. In this case, the first address must precede the second.

The buffer (bufname) may be the current buffer. In this case, FRED deletes all lines that are not specified for the move, leaving only the moved lines.

When M is finished, FRED sets "." in (bufname) to the last line of the buffer, and sets "." in the current buffer to the line following the last line moved.

Copyright © 1998, Thinkage Ltd.