Sample Header Ad - 728x90

Keyboard shortcut to select text *in a browser (Chrome)* till the end (or beginning) of a line

6 votes
2 answers
1994 views
Looking for a keyboard shortcut to select text *in a browser (Chrome)* till the end (or beginning) of a line. According to Apple Support the keyboard shortcut SHIFT-CMD-RIGHTARROW is meant to > Select the text between the insertion point and the end of the current > line. This works well in MS Word and text editors, but fails in web browsers. I am aware of the Emacs shortcut CMD-E (see this answer ) - but this behaves differently: it will select the text till the next "line break character", not till the end of a visible line. I.e., if there is an "automatic" line break in the browser which is not because of a corresponding line break in the HTML source code, the Emacs-like command will select the whole block, typically until the end of the current paragraph, not only the text till the "visible line break". In contrast, in-text editors or MS Word, SHIFT-CMD-RIGHTARROW will select text only till the end of the "visible line". It also works in text boxes in the browser (like the one you use to create a question or answer here), but unfortunately not in "normal web pages".
Asked by alex (223 rep)
Feb 5, 2020, 11:43 AM
Last activity: Jul 30, 2025, 12:05 AM