Deleting Text

The easiest way to delete text is to use the DEL key. It deletes the character to the left of the cursor, usually the character you've just typed. To delete the character under the cursor, use C-d. To delete to the end of the current word, type M-d. C-k deletes all the text from the cursor to the end of the line. If the cursor is already at the end of the line, it joins the current line with the next line. (This deletes a blank line.) Deletion amount Key ----------------------------- Previous character DEL Next character C-d To end of word M-d Rest of line C-k

Click here to go to the top of the chapter.