5

I often copy links in Chrome with the context menu, to paste into a chat window (Adium). This process selects the link on copy. When I cmd+tab back to my browser window, the text is still selected and it interferes with keyboard control of the given website. This forces me to move my hand back to the trackpad, find some non-active space (page bg usually), and click to deselect. I'd rather not have to move my hand from the keyboard to do this.

I've tested this in Chrome, Safari, and TextEdit. I could maybe solve it in Chrome with a userscript, but I'd like a more general solution for other programs as well.

edit Another way of looking at this problem is that OSX selects the word or link on right click with a context menu, but doesn't clear the selection when the context menu is closed. Is there a way to force deselection of text on context menu close?

5 Answers 5

9

cmd+a (select all) cmd+shift+home [at least tested on PC with control+shift+home]

1
  • Please note for those coming across this answer who are on a notebook, Chromebook, or otherwise don't have access to a full extended keyboard: in most cases, you likely either have an Fn keyset or CrOS keyboard layout. For Fn, there's typically an OS setting on whether or not you'll need to hold or toggle Fn key to input the corresponding key. As for CrOS layout, it doesn't show this explicitly but the Home key is Search + Left Arrow. I just tested and Control + Shift + Search + Left Arrow works on my Chromebook, thanks OP!
    – Arctiic
    Mar 1 at 20:07
1

Tapping an arrow key will deselect the text.

1
  • 4
    No dice in Chrome. That works in TextEdit and other "editing" fields like a textarea where you have a blinking cursor to move, but not with plain text or a link on a webpage.
    – jjt
    Mar 13, 2014 at 0:06
0

Hold down the control key and single mouse click on the page.

-1

Holding down the insert key deselected the item.

-1

On Ubuntu Chrome Ctrl+A(Shift+a) deselects text. (This shortcut also toggles tab list, but not whilst text is selected.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .