Key macro m implements the command move (no arguments).
Key macro Keypad-8 implements the command move n 1
Key macro Keypad-6 implements the command move e 1
(and so forth for all 8 compass rose directions).
move [origin] [option]
where option is one of the following:
- direction [distance]
- Move the selection relative to the original position in the direction direction by an amount distance.
- to x y
- Move the selection to the coordinate location specified by the coordinate pair x y.
The move command erases the current selection from its current position and moves it according to the command arguments. Without arguments, the lower-left hand corner of the selection is moved to the current cursor position (the X11 cursor, not the magic "cursor box"). With arguments direction and distance, the selection is moved relative to the original in the indicated direction by the indicated amount. The default distance is 1 unit (usually lambda; see distance for further explication).
The option origin does not require a selection. It will relocate the entire design such that the origin (coordianate 0, 0) is at the position indicated by option. Note that this is more efficient than unexpanding the contents of the top-level cell, selecting everything, and moving the selection. For very large layouts, repositioning the origin of a cell can be prohibitive (may overrun available memory), and "move origin" is always preferred.
move is implemented as a built-in magic command.
|Return to command index|
Last updated: March 20, 2020 at 1:50pm