Switching from Windows to a MacBook can feel disorienting at first. The keyboard layout looks similar, but the shortcuts are completely different. This comprehensive reference guide is designed specifically for developers and power users making the transition to macOS, particularly on Apple Silicon Macs like the M1 Pro.
The Essential Mental Shift: Key Mapping
Before diving into specific shortcuts, understanding how keys translate between Windows and macOS is crucial:
| Windows Key |
macOS Equivalent |
Symbol |
| Ctrl | ⌘ Command | ⌘ |
| Alt | ⌥ Option | ⌥ |
| Windows Key | ⌘ Command | ⌘ |
| Backspace | Delete | ⌫ |
| Delete (Forward) | Fn + Delete | ⌦ |
Critical Insight: On macOS, most shortcuts that used Ctrl on Windows now use ⌘ Command. However, in Terminal, Ctrl is still Ctrl for Unix commands like Ctrl+C to kill a process.
Essential System Shortcuts
Window & App Management
| Shortcut | Action |
⌘ + Q | Quit application (not just close window!) |
⌘ + W | Close current window/tab |
⌘ + H | Hide current application |
⌘ + M | Minimize window to Dock |
⌘ + Tab | Switch between applications |
⌘ + ` | Switch between windows of same app |
⌘ + , | Open Preferences (works in almost every app) |
⌃ + ⌘ + Q | Lock screen |
⌘ + ⌥ + Esc | Force Quit dialog (like Ctrl+Alt+Del) |
⌃ + ⌘ + F | Toggle fullscreen |
Screenshot Shortcuts (Built-in, No Software Needed)
| Shortcut | Action |
⌘ + ⇧ + 3 | Screenshot entire screen |
⌘ + ⇧ + 4 | Screenshot selection (crosshair) |
⌘ + ⇧ + 4, then Space | Screenshot specific window |
⌘ + ⇧ + 5 | Screenshot/recording toolbar |
Add ⌃ to any | Copy to clipboard instead of file |
Text Editing Navigation
This is where macOS truly shines compared to Windows:
| Shortcut | Action |
⌘ + ← | Beginning of line |
⌘ + → | End of line |
⌘ + ↑ | Beginning of document |
⌘ + ↓ | End of document |
⌥ + ← | Previous word |
⌥ + → | Next word |
⌃ + A | Beginning of line (Unix style) |
⌃ + E | End of line (Unix style) |
⌥ + ⌫ | Delete word before cursor |
⌘ + ⌫ | Delete to beginning of line |
Pro Tip: Add ⇧ Shift to any navigation shortcut to select text. For example, ⇧ + ⌘ + → selects from cursor to end of line.
Terminal Shortcuts (Bash/Zsh)
For developers, these terminal shortcuts are essential. They work the same whether you're on your local Mac or SSH'd into a Linux server.
Navigation & Editing
| Shortcut | Action |
⌃ + A | Move to beginning of line |
⌃ + E | Move to end of line |
⌥ + F | Move forward one word |
⌥ + B | Move backward one word |
⌃ + U | Delete from cursor to beginning of line |
⌃ + K | Delete from cursor to end of line |
⌃ + W | Delete word before cursor |
⌃ + Y | Paste previously deleted text (yank) |
⌃ + _ | Undo last edit |
History & Process Control
| Shortcut | Action |
⌃ + R | Reverse search history (incredibly useful!) |
⌃ + P or ↑ | Previous command |
⌃ + N or ↓ | Next command |
⌃ + C | Kill current process (SIGINT) |
⌃ + Z | Suspend process (use fg to resume) |
⌃ + D | EOF / Exit shell (if line is empty) |
⌃ + L | Clear screen (same as clear) |
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder | Flush DNS Cache |
Terminal App Specific
| Shortcut | Action |
⌘ + T | New tab |
⌘ + D | Split pane vertically |
⌘ + ⇧ + D | Split pane horizontally |
⌘ + K | Clear scrollback |
⌘ + + / - | Increase/decrease font size |
Finder Shortcuts
Finder is macOS's file manager. These shortcuts will help you navigate efficiently:
| Shortcut | Action |
⌘ + ⇧ + G | Go to folder (type path directly) |
⌘ + ⇧ + H | Go to Home folder |
⌘ + ⇧ + D | Go to Desktop |
⌘ + ⇧ + O | Go to Documents |
⌘ + ⇧ + L | Go to Downloads |
⌘ + ⇧ + . | Show/hide hidden files |
Enter | Rename file (not open!) |
Space | Quick Look preview |
⌘ + ⌫ | Move to Trash |
⌘ + ⌥ + V | Move files (instead of paste, after ⌘+C) |
⌘ + ⌥ + C | Copy file path |
VS Code Shortcuts (macOS)
For web developers, these VS Code shortcuts are essential:
Essential Editing
| Shortcut | Action |
⌘ + D | Select word / Add selection to next match |
⌘ + ⇧ + L | Select all occurrences of selection |
⌥ + ↑ / ↓ | Move line up/down |
⌥ + ⇧ + ↑ / ↓ | Copy line up/down |
⌘ + ⇧ + K | Delete line |
⌘ + / | Toggle line comment |
⌘ + ⇧ + A | Toggle block comment |
⌥ + Z | Toggle word wrap |
Navigation & Panels
| Shortcut | Action |
⌘ + P | Quick open file |
⌘ + ⇧ + P | Command palette |
⌘ + ⇧ + O | Go to symbol in file |
⌘ + G | Go to line |
⌃ + ` | Toggle terminal |
⌘ + B | Toggle sidebar |
F12 | Go to definition |
⌥ + F12 | Peek definition |
F2 | Rename symbol |
Browser Developer Tools (Chrome/Safari)
| Shortcut | Action |
⌘ + ⌥ + I | Open DevTools |
⌘ + ⌥ + J | Open Console |
⌘ + ⌥ + U | View source |
⌘ + ⇧ + C | Inspect element |
⌘ + ⇧ + R | Hard reload (clear cache) |
⌘ + ⇧ + T | Reopen closed tab |
Common Gotchas for Windows Users
⚠️ Things That Will Trip You Up
- ⌘ + Q quits apps entirely — Not just minimizes. Use ⌘ + H to hide instead.
- Delete key is Backspace — For forward delete, use Fn + Delete.
- Home/End work differently — Use ⌘ + ← / → for line start/end.
- No cut in Finder — Use ⌘ + C then ⌘ + ⌥ + V to move files.
- Enter renames files — Use ⌘ + O or ⌘ + ↓ to open them.
- Closing windows doesn't quit apps — Red X just closes the window. App stays in Dock.
- Path separator is / — Not backslash like Windows.
Trackpad Gestures Worth Learning
The MacBook trackpad is one of its best features. These gestures will boost your productivity:
| Gesture | Action |
| Two-finger scroll | Scroll |
| Two-finger tap | Right-click |
| Three-finger swipe up | Mission Control |
| Three-finger swipe left/right | Switch Spaces/Desktops |
| Pinch with four fingers | Launchpad |
| Three-finger tap | Look up word definition |
Recommended System Settings
These settings will make your Mac feel much more responsive:
- System Settings → Trackpad → Tap to click — Enable it
- System Settings → Keyboard → Key Repeat — Set to fastest
- System Settings → Keyboard → Delay Until Repeat — Set to shortest
- Accessibility → Pointer Control → Trackpad Options → Dragging style — Three-finger drag
Quick Reference: The 15 Most Essential Shortcuts
| Shortcut | Action |
⌘ + Space | Spotlight (launch anything) |
⌘ + Tab | Switch apps |
⌘ + ` | Switch windows of same app |
⌘ + Q | Quit app |
⌘ + W | Close window/tab |
⌘ + , | Preferences |
⌘ + ⇧ + 4 | Screenshot selection |
⌘ + ⇧ + . | Show hidden files |
⌃ + ⌘ + Space | Emoji picker |
⌃ + R | Search terminal history |
⌃ + C | Kill process (Terminal) |
⌘ + P | Quick open (VS Code) |
⌘ + ⇧ + P | Command palette |
⌃ + ` | Toggle terminal |
⌘ + ⌥ + I | DevTools |
Related Resources
Check out these other guides on our blog:
Need Help Setting Up Your Development Environment?
Whether you're transitioning from Windows or setting up a new MacBook for development, our team can help you configure your system for maximum productivity.
Contact WebPC Designs