Select to End of Line Shortcut (Shift+End / ⌘⇧→)
Select from the cursor to the end of the line with Shift+End on Windows or ⌘⇧→ on Mac. To the start of the line it's Shift+Home / ⌘⇧←.
| Action | Mac | Windows | |
|---|---|---|---|
| Select to end of line | ⌘⇧→ | Shift+End | |
| Select to start of line | ⌘⇧← | Shift+Home | |
| Select the whole line | ⌘⇧← then ⌘⇧→ | Home then Shift+End | |
| Select to end of document | ⌘⇧↓ | Ctrl+Shift+End |
Grab the rest of the line
Put the cursor where you want to start, then press Shift+End (Windows) or ⌘⇧→ (Mac) to highlight everything from there to the end of the line — ready to copy, delete or format.
The other direction
Use Shift+Home / ⌘⇧← to select back to the start of the line. Add Ctrl/⌘+Shift with the arrow keys to extend the selection a word at a time.
FAQ
How do I select to the end of a line?
Press Shift+End on Windows or ⌘⇧Right on Mac to select from the cursor to the line's end.
How do I select a whole line?
Press Home to go to the start, then Shift+End to select to the end (Mac: ⌘← then ⌘⇧→).
How do I select to the end of the document?
Use Ctrl+Shift+End on Windows or ⌘⇧Down on Mac.