Plug a MacBook into a projector and it usually extends the desktop, so your slides end up on a screen you can’t see. Digging through Displays settings with a room watching isn’t fun. There’s a shortcut for it.
With more than one display connected:
Command-Brightness Down turn video mirroring on or off
Press it once and both screens show the same thing. Press it again and you’re back to an extended desktop. That’s handy when you hook up to a TV to show some photos, or when a meeting room screen needs the same picture as your laptop.
A few neighbours from the same Apple shortcut list are worth knowing. Option-Brightness Up opens Displays settings straight away. Control-Brightness Up or Down changes the brightness of an external display, if the display supports it. And Option-Shift with a Brightness key moves the brightness in smaller steps.
The caveat is the function row. On a Mac keyboard the Brightness Down key doubles as F1, and Apple notes that Fn or the Globe key switches these keys to F1, F2 and so on. So if you changed your keyboard settings to use the top row as standard function keys, the key no longer sends Brightness Down on its own. And with only the built-in display there’s nothing to mirror, so the shortcut does nothing.
Further reading: Mac keyboard shortcuts (Apple Support)