Keyboard Shortcuts

Phil Wornath

Key takeaways

  • The page is a cheat sheet that pairs each shortcut with a **mnemonic**, such as P for Palette in VS Code's ⌘ + ⇧ + P.

Hey motion brain, manifest your knowledge here!

Template: ⌘ CMD + ⇧ SHIFT + P: Open command palette

Available keys: ⌘ CMD, ⇧ SHIFT, ⌥ OPTION

VS Code

CommandKeyMnemonic
Open command palette⌘ CMD + ⇧ SHIFT + PP as in Palette
Open Markdown preview⌘ CMD + ⇧ SHIFT + VV as in Visual

Apple Preview

CommandKeyMnemonic
Highlight text⌘ CMD + ⇧ SHIFT + HH as in Highlight
Underline text⌘ CMD + ⇧ SHIFT + UU as in Underline
Open Markup toolbar⌘ CMD + ⇧ SHIFT + AA as in Annotation
Set bookmark⌘ CMD + DD as in Document

Figma Shortcuts

Utilize Figma for UI/UX Design, working with components, design systems, design tokens, and more.

CommandShortcut KeyMnemonic
Open Floating PrototypeShift + SpaceN/A
Use the Scale ToolKK as in "Keep" shape when scaling
Rename Multiple Layers at OnceCMD + R (Mac) or CTRL + R (Windows)R as in "Rename"
Adjust OpacityNumber Keys (1-9 and 0 for 100%)N/A
Switch to Design Mode from Prototype ModeOption + 8 (Mac) or Alt + 8 (Windows)8 as in "Switch" to Design
Switch to Prototype Mode from Design ModeOption + 9 (Mac) or Alt + 9 (Windows)9 as in "Switch" to Prototype

Chrome

CommandKeyMnemonic
Open Developer Tools⌘ CMD + ⌥ Option + II as in Inspect
Open Command Palette⌘ CMD + PP as in Palette
Open History⌘ CMD + YY as in History

Terminal commands

CommandKeyMnemonicFun Fact
List all hardware portsnetworksetup -listallhardwareportsN/AThe command name is so long, it's like Apple wanted to make sure you really meant it!

Hidden macOS Gems

CommandKeyMnemonicFun Fact
Force quit any app⌘ CMD + ⌥ Option + EscEsc as in "Escape" from troubleThe digital equivalent of "Have you tried turning it off and on again?"
Screenshot selection⌘ CMD + ⇧ SHIFT + 44 as in "For" a specific areaMuch more precise than the full-screen ⌘ CMD + ⇧ SHIFT + 3 - like using a scalpel instead of a chainsaw
Show hidden files⌘ CMD + ⇧ SHIFT + .. as in "dot" filesReveals the secret world of macOS - like finding the hidden passages in Hogwarts
Quick Look previewSpace barSpace as in "Space to breathe"The fastest way to preview files without opening them - perfect for when you're not sure if that PDF is actually the receipt you need
Mission ControlF3 or ⌘ CMD + ↑↑ as in "Up" to overviewNamed after NASA's mission control - because managing your desktop windows is basically rocket science

Browser Ninja Moves

CommandKeyMnemonicFun Fact
Close tab⌘ CMD + WW as in "Window"The most satisfying shortcut when you accidentally open 47 tabs while "just quickly checking something"
Reopen closed tab⌘ CMD + ⇧ SHIFT + TT as in "Tab" backThe digital equivalent of "Wait, I didn't mean to close that!"
Hard refresh⌘ CMD + ⇧ SHIFT + RR as in "Really refresh"Forces the browser to ignore cache - like telling your browser "No, really, I want the NEW version"
Focus address bar⌘ CMD + LL as in "Location"Faster than clicking - because every millisecond counts when you're in a hurry
Toggle bookmarks bar⌘ CMD + ⇧ SHIFT + BB as in "Bookmarks"The shortcut you use when you realize you've been manually typing URLs like a caveman

Text Editing Secrets

CommandKeyMnemonicFun Fact
Move cursor by word⌥ Option + ←/→←/→ as in directionMuch faster than holding down the arrow key like you're playing a video game
Select by word⌥ Option + ⇧ SHIFT + ←/→←/→ as in directionThe precision tool for when you need to select exactly "that word" and not the whole sentence
Delete entire line⌘ CMD + DeleteDelete as in "Delete"The nuclear option for text editing - use with caution!
Duplicate line⌘ CMD + ⇧ SHIFT + DD as in "Duplicate"The lazy programmer's best friend - copy-paste without the paste step
Comment/uncomment⌘ CMD + // as in comment symbolThe shortcut that saves you from typing // or <!-- or # over and over

System Hacks

CommandKeyMnemonicFun Fact
Lock screen instantly⌘ CMD + ⌥ Option + PowerPower as in "Power off"The "Oh no, someone's coming!" panic button
Spotlight search⌘ CMD + SpaceSpace as in "Space to search"The Swiss Army knife of macOS - finds files, apps, calculations, and even tells you the weather
Switch input source⌘ CMD + Space (hold)Space as in "Space to switch"Essential for multilingual users - because sometimes you need to type in emoji, sometimes in German
Show desktopF11 or ⌘ CMD + F3F3 as in "Focus" on desktopThe "Hide everything quickly" button for when your boss walks by
Notification Center⌘ CMD + ⌥ Option + NN as in "Notifications"Where all your app notifications go to die - or live, depending on how you look at it

Pro Tips & Anecdotes

The "Oh No" Recovery: Ever accidentally close a browser tab you desperately needed? ⌘ CMD + ⇧ SHIFT + T is your digital safety net. I once closed a tab with flight confirmation details 5 minutes before boarding - this shortcut saved my vacation!

The "Look Busy" Maneuver: ⌘ CMD + F11 (show desktop) is the ultimate "I'm working on something important" move when someone approaches your desk. Just make sure you remember what you were actually working on.

The "Multilingual Struggle": If you're like me and switch between German and English keyboards, ⌘ CMD + Space becomes muscle memory. Though sometimes I end up typing "Hallo" when I meant "Hello" - the digital equivalent of speaking the wrong language to someone.

The "Cache Conspiracy": ⌘ CMD + ⇧ SHIFT + R (hard refresh) is what you use when you're convinced the website is broken, but it's actually just your browser being stubborn about showing you the old version.

Remember: The best keyboard shortcuts are the ones that become so automatic you forget you're even using them. Practice these until they feel like extensions of your fingers!