63 VSCode Keyboard Shortcuts I Use Daily
Because reaching for the mouse is basically a tax on your productivity.
Let me tell you a quick story: I used to be that developer who clicked around VSCode like it was Minesweeper.
Open file here, copy this there, hunt through tabs like a raccoon digging in trash. It worked.
But it was slow. And every time I reached for the mouse, my flow broke.
Then I discovered keyboard shortcuts.
Not in one magical moment, but over years of trial, error, and the occasional forehead slap when I realized Iโd been doing something the hard way.
Now? If you take away my shortcuts, Iโll quit coding and become a goat farmer.
Thatโs how much I depend on them.
So hereโs my unapologetically biased list of 63 VSCode keyboard shortcuts I actually use every single day.
No fluff. No โoh this looks nice but I never touch it.โ Just the real deal.
File & Editor Management
1. Ctrl + P / Cmd + P โ Quick Open. Forget the Explorer panel. This is Google Search for your repo.
2. Ctrl + Tab โ Switch between files. Like Alt-Tab, but for code. Donโt live without it.
3. Ctrl + \\ โ Split editor. Because two files side by side beat alt-tabbing like a lunatic.
4. Ctrl + 1/2/3 โ Focus specific editor group. Precision matters.
5. Ctrl + W โ Close the current file. Obvious, but I slam this constantly.
6. Ctrl + Shift + T โ Reopen closed editor. AKA โundo my stupidity.โ
7. Ctrl + K, W โ Close all files. Nuclear option when tabs multiply like rabbits.
8. Ctrl + Shift + N โ New window. Clean slate. Great for context switching.
9. Ctrl + K, O โ Open folder. Yes, faster than menu-clicking like itโs 1999.
Search & Navigation
10. Ctrl + Shift + F โ Search across project. I abuse this.
11. F12 โ Go to Definition. Like teleportation.
12. Alt + F12 โ Peek Definition. Definition in a popup. Perfect for quick glances.
13. Ctrl + Shift + O โ Go to Symbol in file. Forget scrolling. Jump straight to the function.
14. Ctrl + T โ Go to Symbol across files. Itโs like having X-ray vision.
15. Ctrl + G โ Go to line. Essential when someone says โbug at line 237.โ
16. Ctrl + Shift + M โ Problems panel. AKA โwhy isnโt this compiling?โ
17. F8 / Shift + F8 โ Next/Previous problem. Debugging on turbo mode.
18. Ctrl + B โ Toggle sidebar. I hide it constantly for distraction-free coding.
Editing Like a Wizard
19. Ctrl + D โ Select next occurrence. Multi-cursor sorcery.
20. Ctrl + Shift + L โ Select all occurrences. Because one refactor shouldnโt take 17 clicks.
21. Alt + Click โ Add cursor. Manual but effective.
22. Ctrl + Alt + Down/Up โ Add cursors vertically. Copy-pasting lines in parallel feels magical.
23. Ctrl + Shift + K โ Delete line. No selecting needed.
24. Ctrl + Enter โ Insert line below. Perfect for keeping rhythm.
25. Ctrl + Shift + Enter โ Insert line above. Because sometimes your logic belongs higher.
26. Alt + Up/Down โ Move line. Refactor code like Legos.
27. Shift + Alt + Down/Up โ Copy line up/down. Instant duplication.
28. Ctrl + / โ Toggle comment. Because sometimes, silence is golden.
29. Shift + Alt + A โ Block comment. Handy for debugging.
30. Ctrl + Shift + \ โ Jump to matching bracket. Saves you in regex hell.
31. Ctrl + ] / [ โ Indent/Outdent line. Keeps code aligned, unlike my life.
32. Ctrl + Space โ Trigger IntelliSense. Like a cheat code for memory.
Code Navigation & Refactoring
33. F2 โ Rename symbol. The refactor MVP.
34. Ctrl + . โ Quick Fix. Because squiggly lines deserve respect.
35. Shift + F12 โ Find references. Want to know where this thing is used? Boom.
36. Ctrl + Shift + \ โ Jump between brackets. A lifesaver in nested nightmares.
37. Ctrl + K, Ctrl + X โ Trim trailing whitespace. OCD satisfaction.
Integrated Terminal
38. `Ctrl + `` โ Toggle terminal. Mouse-free console access.
39. Ctrl + Shift + 5 โ Split terminal. Because one terminal is never enough.
40. Ctrl + C / Ctrl + V in terminal โ Works as expected. Thank the VSCode gods.
41. Ctrl + Up/Down โ Scroll terminal output. Great for scanning logs.
Debugging Without Tears
42. F5 โ Start/Continue debugging.
43. Shift + F5 โ Stop debugging. Rage quit mode.
44. F9 โ Toggle breakpoint.
45. F10 โ Step over.
46. F11 โ Step into.
47. Shift + F11 โ Step out. The eject button.
Git Integration
48. Ctrl + Shift + G โ Source control view.
49. Ctrl + Enter in SCM input โ Commit. One key combo instead of ritualistic clicking.
50. Ctrl + Shift + 7 โ Toggle inline blame (with GitLens). Because accountability matters.
51. Alt + D โ Compare with previous commit (with GitLens). Context is everything.
Window & Interface Zen
52. Ctrl + Shift + E โ Explorer view. When you actually need it.
53. Ctrl + Shift + D โ Debug view.
54. Ctrl + Shift + X โ Extensions view. AKA โblack hole of productivity.โ
55. Ctrl + Shift + U โ Output panel. Logs, logs, and more logs.
56. Ctrl + Shift + Y โ Debug console. Handy when things blow up.
57. Ctrl + K, Z โ Zen mode. Hide everything, vibe with the code.
58. Ctrl + = / - โ Zoom in/out. Your eyes will thank you.
59. Ctrl + Shift + P / Cmd + Shift + P โ Command Palette. The Swiss Army knife.
Miscellaneous but Vital
60. Ctrl + Shift + S โ Save As. Old school, but still alive.
61. Ctrl + Shift + V โ Open Markdown preview. Writers rejoice.
62. Ctrl + K V โ Side-by-side Markdown preview. Blog like a pro.
63. Ctrl + Shift + C โ Open external terminal. Sometimes you need the big guns.
Reality
Do you need all 63 right now? Nope.
Start with five. Maybe ten. The point isnโt memorizing the whole phonebook.
The point is building muscle memory so your brain focuses on solving problems, not navigating menus.
Every time you catch yourself reaching for the mouse, stop.
Ask: is there a shortcut for this?
Spoiler: there usually is. Learn it once. Save seconds forever.
Finally
VSCode is ridiculously powerful.But itโs only as fast as the way you use it.
Shortcuts are your secret weapon. They make you look like a wizard to your teammates and actually make coding less painful.
if you found this useful, share it with that one developer friend who still clicks โFile โ Saveโ like itโs Word 2003.
Or bookmark it and come back when youโre tired of slow coding.
which shortcuts do you swear by?
Which ones do you think I missed?
Drop a comment, debate me, or clap in agreement.
Just donโt stay in mouse jail.
A message from our Founder
Hey, Sunil here. I wanted to take a moment to thank you for reading until the end and for being a part of this community.
Did you know that our team run these publications as a volunteer effort to over 3.5m monthly readers? We donโt receive any funding, we do this to support the community. ![]()
If you want to show some love, please take a moment to follow me on LinkedIn, TikTok, Instagram. You can also subscribe to our weekly newsletter.
And before you go, donโt forget to clap and follow the writer๏ธ!
Published in Stackademic
Stackademic is a learning hub for programmers, devs, coders, and engineers. Our goal is to democratize free coding education for the world.
Software Engineer | Tech Enthusiast
