X Delete the character to the left of the cursor. D Delete from the cursor to the end of the line. Undo u Undo the last insert or delete on the line. U Undo all changes on the current line, and restore it to the original. Join J Join the current line with the following line.
P Put the contents of the temporary buffer on the line before the cursored line.
Y Yank the cursored line into the named buffer. The ex Editor All of the ed commands that you learned are available.