brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Command-4 in Spotlight searches everything you copied on your Mac

macOS
~/tips/tip-macos-spotlight-clipboard-history

Command-4 show your clipboard history

Find and paste something you copied earlier from the clipboard history in Spotlight.

You copy a link, then a command, then a phone number, and the link is gone. On a current Mac it isn’t really gone: Spotlight keeps a clipboard history.

Open Spotlight and switch to the clipboard:

Command-Space    open Spotlight
Command-4        show your clipboard history

Type to filter the list, then select an item and press Command-C, or click the copy button next to it. Click where you want it and press Command-V as usual. Apple notes that the first time, Spotlight may ask whether to allow results from the clipboard; click Allow.

An example: you copied a long server path an hour ago, and since then a dozen other things. Command-Space, Command-4, type a piece of the path, copy, paste. No digging through your terminal history.

The search is the part I find most useful. With a plain clipboard manager you scroll; here a few letters are enough.

Do think about what ends up in that history. Apple warns that sensitive information may appear on the clipboard, and a password you copied from a password manager could be there too. To wipe it, click the More button to the right of the search field and choose Clear History. If you’d rather not have clipboard results at all, Spotlight’s settings have a Results from Clipboard section where you can switch that category off.

Further reading: Search your Clipboard history in Spotlight on Mac (Apple), Select result categories for Spotlight on Mac (Apple)

Going deeper: Guide: advanced tmux, a config that grows with you, formats, layouts and more

More macOS tips System Settings > Accessibility > Hover Text > When using the pointer A Smart Folder in Notes collects notes by tag, checklist or date Type # in a Mac note to tag it, then filter by tag in the sidebar tmutil isexcluded ~/Projects/app/node_modules Crop an image in Preview by dragging a frame and clicking Crop All macOS tips (99) All topics

Link