OpenWindows Advanced User's Guide

6.5.5.4 Deleting Part of a Line

You can also delete part of a line.

To delete everything to the right of the cursor, position the cursor to the right of the part of the line you want to save, and type D.

To delete everything to the left of the cursor, position the cursor to the right of the part of the line you want to delete and type d0 (d-zero).