Shift+End, Backspace: Delete the rest of the line

Here’s a combination that I use frequently when I find myself in the middle of a line of text and I want to remove the rest:

  1. Make sure your cursor is to the left of all the text you wish to erase. (Use the left arrow and right arrow key as necessary.)
  2. Press Shift+End. All the text between your cursor and the end of the line is selected.
  3. Press the Backspace (or Delete) key. The text is erased.

Much faster than pressing the delete key a bunch of times.

One thought on “Shift+End, Backspace: Delete the rest of the line”

Leave a Reply

Your email address will not be published. Required fields are marked *