Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Double click text to select a word. Triple click text to select the whole paragraph.

For decades I assumed that there’s some weird fluky behavior when trying to select a word and accidentally selecting the paragraph.



You can also double click a word, keep the mouse button down, and drag. This will select whole words. I use this a lot.


I didn’t know that either, thank you! It works with triple-click paragraphs too.


Along the same lines for text navigation and manipulation:

opt + [arrow keys]: To move through text respecting word boundaries.

cmd + [arrow keys]: To move through text respecting line boundaries.

Add shift to either of those and now instead of navigating, you're selecting the text.

opt + delete: deletes full word behind cursor

cmd + delete: deletes full line behind cursor


This is same in Windows and Linux as well


This feature is present everywhere.

Windows, Android, all browsers I use, inside apps, etc




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: