Tip 99Select Text In Quick Look

If you use Quick Look to view any files that feature text—such as PDFs or Word documents—you’ll notice that you can’t click and drag to highlight text. Clicking anywhere on the Quick Look window simply moves it around.

However, a secret setting will let you click and drag as usual to highlight text, and you can use the standard key combination of Command+C to copy text. The Quick Look window can still be moved around the screen by clicking and dragging its title bar, as with any other program window.

To activate the setting, open a Terminal window (open Finder, select the Applications list, and then in the list of applications double-click Terminal within the Utilities folder), and type the following:

 
defaults ...

Get Mac Kung Fu, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.