Menu: Modify > Auto Trim
Shortcut: A, X
Commands: autotrim | ax
Description
Trims or extends an entity on both sides to the next limiting entities.
Usage
Choose the entity you want to trim or extend by clicking the segment you
want to keep. The entity is automatically trimmed or extended, so that the
two end points align with the next two entities.