To... Do this..
Delete the character to Press the DELETE key. the left of the cursor. Delete the character under ^D the cursor. Delete from cursor to the M-D end of a word. Delete from cursor to the M-^H start of a word. Delete from cursor to the ^K end of a line. Delete an entire line. ^A^K Undelete (yank back) a ^Y word or line.