Lesson 4 of 40
Productivity
Beginner
Keyboard Shortcuts & Command Palette
Mastering keyboard shortcuts is the single fastest way to level up your productivity in VS Code. This lesson covers the essential shortcuts and the all-powerful Command Palette.
1The Command Palette
Press Ctrl+Shift+P (or F1) to open the Command Palette — the central hub for every VS Code action. Type any command name to find and run it instantly. Prefix with > for commands, @ for symbols, # for workspace symbols, or just type a filename to navigate directly.
2Essential Navigation Shortcuts
Navigation
Ctrl+P Go to file (Quick Open) Ctrl+Shift+P Command Palette Ctrl+G Go to line Ctrl+T Go to symbol in workspace Ctrl+Shift+O Go to symbol in file Alt+Left/Right Navigate back / forward Ctrl+Tab Switch between open editors
3Essential Editing Shortcuts
Editing
Alt+Up/Down Move line up / down Shift+Alt+Down Duplicate line Ctrl+/ Toggle line comment Ctrl+Shift+K Delete line Ctrl+D Select next occurrence Ctrl+Shift+L Select all occurrences Ctrl+Space Trigger IntelliSense F2 Rename symbol F12 Go to definition
4Customising Keybindings
Open File › Preferences › Keyboard Shortcuts (Ctrl+K Ctrl+S) to view and edit every binding. You can import Vim, Emacs, Sublime Text or JetBrains keymaps from the marketplace to keep your muscle memory intact.
keybindings.json — custom example
[ { "key": "ctrl+shift+d", "command": "editor.action.duplicateSelection" } ]
5Cheatsheet: Top 20 Shortcuts
Print or bookmark this — the 20 shortcuts that will save you the most time:
- Ctrl+P — Quick Open file
- Ctrl+Shift+P — Command Palette
- Ctrl+` — Toggle terminal
- Ctrl+B — Toggle sidebar
- Ctrl+Z / Ctrl+Y — Undo / Redo
- Ctrl+F — Find in file
- Ctrl+H — Find & Replace
- Ctrl+Shift+F — Search in workspace
- F5 — Start debugging
- Ctrl+Shift+E — Focus Explorer
All 40 Lessons
Pick any lesson to jump straight to it.
L01
Getting Started with VS Code
L02
The VS Code Interface & Layout
L03
Installing & Managing Extensions
L04
Keyboard Shortcuts & Command Palette
L05
Settings, Themes & Customization
L06
IntelliSense & Code Completion
L07
Integrated Terminal Mastery
L08
Search, Find & Replace Across Files
L09
Git & Source Control with VS Code
L10
Snippets & Emmet Abbreviations
L11
GitHub Copilot — Getting Started
L12
Copilot Chat & Inline Ask
L13
JavaScript & TypeScript Development
L14
Python Development in VS Code
L15
Debugging Like a Pro
L16
Linting, Formatting & ESLint
L17
Multi-Cursor Editing & Refactoring
L18
Workspaces & Multi-Root Projects
L19
Tasks, Build Systems & npm Scripts
L20
Testing with Jest, Vitest & Pytest
L21
React Development Workflow
L22
Node.js & Express in VS Code
L23
Docker & Dev Containers
L24
Live Share — Real-Time Collaboration
L25
Jupyter Notebooks in VS Code
L26
REST Client & API Testing
L27
SSH Remote Development
L28
WSL 2 Integration on Windows
L29
Advanced Debugging: Breakpoints & Watch
L30
Copilot Agent Mode — Agentic Workflows
L31
Profile & Performance Optimisation
L32
GitHub Actions & CI/CD Integration
L33
Custom Keybindings & Key Maps
L34
Settings Sync & Dotfiles Management
L35
Language Server Protocol (LSP) Explained
L36
Rust Development in VS Code
L37
Go Development in VS Code
L38
GitHub Codespaces & vscode.dev
L39
Writing Your First VS Code Extension
L40
Pro VS Code Workflow & Mastery