macOS Shortcuts Developers Actually Use Every Day (Not the Obvious Ones)
macOS Shortcuts Developers Actually Use Every Day
Every macOS shortcuts article starts with Cmd+C, Cmd+V, Cmd+Z. You already know those. This is the list of shortcuts and features that developers actually use throughout the day -- the ones that save real time but nobody writes about because they are not flashy.
Window Management Without Third-Party Apps
macOS has gotten much better at window management. You might not need Rectangle or Magnet anymore.
Split Screen
- •Hold the green traffic light button -- drag to tile the window to the left or right half. In macOS Sequoia and later, you can also drag windows to screen edges to snap them.
Window Shortcuts (macOS Sequoia+)
- •Fn + Ctrl + Left/Right -- tile window to left/right half
- •Fn + Ctrl + Up -- fill the screen (not fullscreen, just maximized)
- •Fn + Ctrl + F -- actual fullscreen
Switching Between Apps
- •Cmd + Tab -- switch between apps. But hold Cmd and press Tab repeatedly to cycle. Press ~ (backtick) to cycle backward. Press Q while hovering over an app to quit it.
- •Cmd + Backtick (backtick) -- switch between windows of the same app. This is the one most people miss. When you have 3 VS Code windows or 5 Finder windows, this cycles through them.
Mission Control
- •Ctrl + Up -- show all windows (Mission Control)
- •Ctrl + Down -- show all windows of the current app (App Expose)
- •Ctrl + Left/Right -- switch between desktops/spaces
Hide and Minimize
- •Cmd + H -- hide the current app (it disappears but is still running)
- •Cmd + M -- minimize to dock
- •Cmd + Option + H -- hide all OTHER apps. This is the "focus mode" shortcut -- it leaves only your current app visible.
Screenshots: More Than You Think
Basic Captures
- •Cmd + Shift + 3 -- full screenshot
- •Cmd + Shift + 4 -- select an area to capture
- •Cmd + Shift + 4, then Space -- capture a specific window (click the window). The window gets a nice drop shadow automatically.
- •Cmd + Shift + 5 -- opens the screenshot toolbar with recording options
Developer-Specific Screenshot Tips
- •Cmd + Shift + 4 and then hold Space to move the selection area without resizing it
- •Hold Option while dragging to resize the selection from the center
- •Hold Shift while dragging to lock one dimension
- •Add Ctrl to any screenshot shortcut to copy to clipboard instead of saving to a file. Cmd + Ctrl + Shift + 4 selects and copies to clipboard -- perfect for pasting into Slack or a PR description.
Spotlight and Finder: Navigate Like a Developer
Spotlight (Cmd + Space)
You probably use Spotlight to launch apps. But it can do much more:
- •Math calculations -- type \2048 * 1.15\ and get the answer without opening Calculator
- •Unit conversions -- type \72 fahrenheit to celsius\ or \500 usd to eur\
- •File search -- type a filename to find it anywhere on your system
- •Dictionary -- type \define ephemeral\ to get a definition
- •App launching -- type the first 2-3 letters of any app name
Finder Shortcuts
- •Cmd + Shift + . -- toggle hidden files visibility. Essential for working with dotfiles like .gitignore, .env, .zshrc
- •Cmd + Shift + G -- "Go to Folder" dialog. Type a path to jump directly there. Supports ~ for home directory
- •Cmd + Option + L -- open the Downloads folder
- •Space -- Quick Look. Select any file and press Space to preview it without opening an app. Works with images, PDFs, videos, code files, and more. Press Space again to close.
- •Cmd + I -- Get Info. Shows file size, permissions, and lets you change the default app for that file type.
- •Cmd + Delete -- move to Trash
Text Editing System-Wide
These work in virtually every macOS app -- text editors, browsers, email, Slack, and more.
Movement
- •Cmd + Left/Right -- jump to beginning/end of line
- •Cmd + Up/Down -- jump to beginning/end of document
- •Option + Left/Right -- jump one word left/right
- •Ctrl + A -- beginning of line (also works, same as Cmd+Left)
- •Ctrl + E -- end of line (also works, same as Cmd+Right)
Selection
Add Shift to any movement shortcut to select text:
- •Shift + Option + Left/Right -- select one word at a time
- •Shift + Cmd + Left/Right -- select to beginning/end of line
- •Cmd + A -- select all
Deletion
- •Option + Delete -- delete the previous word (way faster than holding backspace)
- •Fn + Delete -- forward delete (the Delete key on Mac only deletes backward by default)
- •Cmd + Delete -- delete to beginning of line
Text Formatting (in apps that support it)
- •Cmd + B -- bold
- •Cmd + I -- italic
- •Cmd + K -- insert link (works in Slack, Notion, most text editors)
System Shortcuts for Developers
Force Quit (Cmd + Option + Esc)
When an app freezes. Select the app and click Force Quit. Faster than Activity Monitor.
Lock Screen (Cmd + Ctrl + Q)
Lock your machine when you step away. Especially important in offices and coffee shops.
Do Not Disturb
- •Option + click the date/time in the menu bar to toggle Do Not Disturb. No notifications during focused work.
Clipboard History
macOS does not have built-in clipboard history, but if you install something like Raycast (free) or Alfred, you get clipboard history with a shortcut. This is one of the highest-value tools a developer can have -- never lose a copied snippet again.
Safari and Chrome (Browser Shortcuts)
Since you probably spend half your day in a browser:
Tab Management
- •Cmd + T -- new tab
- •Cmd + W -- close tab
- •Cmd + Shift + T -- reopen last closed tab (lifesaver)
- •Cmd + 1-9 -- jump to tab by position
- •Ctrl + Tab -- next tab
- •Ctrl + Shift + Tab -- previous tab
Navigation
- •Cmd + L -- focus the address bar (faster than clicking)
- •Cmd + [ / Cmd + ] -- back / forward
- •Cmd + Shift + R -- hard refresh (bypass cache). Essential during development.
- •Space / Shift + Space -- scroll down / up a full page
Developer
- •Cmd + Option + I -- open DevTools
- •Cmd + Option + J -- open DevTools Console
- •Cmd + Option + U -- view page source
The Compound Effect
None of these shortcuts are revolutionary on their own. Saving 2 seconds here and 3 seconds there seems trivial. But developers perform hundreds of these operations daily.
A developer who uses keyboard shortcuts fluently saves 30-60 minutes per day compared to one who uses the mouse for everything. Over a year, that is 150-300 hours. That is 4-8 full work weeks.
The cost is about two weeks of mild discomfort while you build the muscle memory. The return is years of faster, more fluid work.
Start with the ones you do most often:
- 1Cmd + Backtick -- switch windows within the same app
- 2Option + Delete -- delete a word instead of holding backspace
- 3Cmd + Shift + . -- show hidden files in Finder
- 4Cmd + Ctrl + Shift + 4 -- screenshot to clipboard
- 5Cmd + Option + H -- hide all other apps
The measure of keyboard proficiency is not how many shortcuts you know. It is how rarely you reach for the mouse to do something the keyboard can do faster.
For more developer productivity tips, check out our blog and explore our free developer tools.