10 VS Code Shortcuts That Will Double Your Coding Speed
Stop using your mouse. These keyboard shortcuts will transform how you navigate, edit, and refactor code in VS Code.

The Mouse Is Slowing You Down
Every time you reach for the mouse, you break your flow. Here are 10 shortcuts that keep your hands on the keyboard.
1. Multi-Cursor Editing
Cmd/Ctrl + D — Select the next occurrence of the current word. Keep pressing to select more.
2. Go to File
Cmd/Ctrl + P — Open any file instantly by typing part of its name.
3. Command Palette
Cmd/Ctrl + Shift + P — Access every VS Code command without memorizing shortcuts.
4. Move Lines
Alt + Up/Down — Move the current line or selection up or down.
5. Duplicate Lines
Shift + Alt + Up/Down — Duplicate the current line above or below.
6. Toggle Comment
Cmd/Ctrl + / — Toggle line comments. Works with selections too.
7. Quick Fix
Cmd/Ctrl + . — Show available code actions and quick fixes.
8. Go to Definition
F12 or Cmd/Ctrl + Click — Jump to where a function or variable is defined.
9. Find and Replace in Files
Cmd/Ctrl + Shift + H — Search and replace across your entire project.
10. Integrated Terminal
Ctrl + `` — Toggle the integrated terminal without leaving the editor.
Bonus: Custom Keybindings
Open keybindings.json and create your own:
{
"key": "cmd+shift+t",
"command": "workbench.action.tasks.runTask",
"args": "dev"
}Master these shortcuts and you'll feel like you have superpowers. Your pair programming partners will wonder how you're so fast.
Get the useful stuff.
Practical engineering, AI and technology insights — without the noise.
Occasional. Useful. Unsubscribe anytime.
Comments
Loading comments…