VS Code Keyboard Shortcuts That Actually Save You Time (Not Just the Obvious Ones)

VS Code Keyboard Shortcuts That Actually Save You Time (Not Just the Obvious Ones)

Photo by Lucas Santos on Unsplash

So I was pair programming with a junior dev last year and they watched me navigate a 3,000-line file without touching the mouse once. They literally stopped mid-sentence and said "wait, how did you just do that?" And honestly, I forgot that stuff isn't obvious when you're starting out — or even when you've been using VS Code for a while but never bothered digging into what it can actually do.

Most articles about VS Code keyboard shortcuts give you the same ten things. Ctrl+S to save. Ctrl+Z to undo. Cool, groundbreaking stuff. I want to talk about the shortcuts that made me go "oh, that's what I've been wasting time on."

Multi-Cursor Editing Is the One Everyone Skips

If you're still manually editing the same variable name in six places, I've seen this a hundred times and it never stops hurting to watch. Select a word, then hit Ctrl+D (Windows/Linux) or Cmd+D (Mac) to grab the next matching occurrence. Keep pressing it to add more cursors. Now you're editing all of them simultaneously.

Here's where it gets actually powerful though — if you want to select every instance of something in the file at once, just do Ctrl+Shift+L. That drops a cursor on all matches instantly. Renaming a poorly-named variable across a whole component? Done in two seconds.

And if you want to just manually place cursors wherever you want, hold Alt and click around. Sounds simple but I've watched senior engineers not know this existed.

The Command Palette Is Your Best Friend

Ctrl+Shift+P (or Cmd+Shift+P on Mac) opens the Command Palette, and honestly this alone can replace memorizing a dozen other shortcuts. Can't remember how to toggle word wrap? Open the palette, type "word wrap," hit enter. Want to change the language mode for a file? Same thing. It's basically a search bar for every action VS Code can perform.

Related to this — Ctrl+P opens Quick Open, which lets you fuzzy-search any file in your workspace by name. No more digging through the sidebar explorer like it's 2005. Type a partial filename and jump straight to it. If you add a : after the filename, you can even jump to a specific line number. So Ctrl+P → app.js:142 drops you exactly where you need to be.

Line Manipulation Without Selecting Anything

This one sounds small but I use it probably fifty times a day. Put your cursor anywhere on a line — you don't need to select the whole thing — and press Ctrl+Shift+K to delete the entire line. No highlighting required. Compare that to the old Home, Shift+End, Delete dance and you'll understand why this matters.

Want to move a line up or down? Alt+Up / Alt+Down. The line just floats to wherever you need it. This is genuinely one of those things where once you know it, you'll notice every time someone in a tutorial doesn't use it and it'll bug you.

And Alt+Shift+Up / Alt+Shift+Down duplicates the line above or below. Great for when you need a slightly modified copy of something and you don't want to bother with copy-paste.

Navigating Code Like You Mean It

Ctrl+G jumps to a specific line number — useful when a stack trace is yelling at you. But the one I really want you to know is Ctrl+Shift+O, which gives you a symbol search within the current file. Functions, classes, variables — you can jump to any of them by name. Way faster than scrolling or Ctrl+F-ing through your own code.

For project-wide stuff, Ctrl+T does the same thing but across your whole workspace. You type a function name and VS Code shows you every place it's defined. This pairs really well with F12 (Go to Definition) and Alt+F12 (Peek Definition — opens it inline without leaving your current file, which I honestly prefer most of the time).

The Insider Tricks

Alright so here are two things that took me embarrassingly long to find.

First: Ctrl+` toggles the integrated terminal. Everyone knows that. But Ctrl+Shift+` opens a new terminal instance without closing the current one. If you're juggling a dev server and running commands at the same time, you'll use this constantly.

Second, and this is the one I don't see mentioned enough — you can fold and unfold code blocks with Ctrl+Shift+[ to collapse and Ctrl+Shift+] to expand. But the real trick is Ctrl+K Ctrl+0 (that's a zero) to collapse everything in the file at once, giving you a bird's-eye view of your entire code structure. Then Ctrl+K Ctrl+J unfolds it all. This is genuinely useful when you're dropped into an unfamiliar codebase and trying to understand how it's organized before you start reading line by line.

One Setting Worth Changing Right Now

Not a shortcut exactly, but while we're here — open your settings with Ctrl+, and search for Editor: Linked Editing. Turn it on. Now when you edit an HTML opening tag, the closing tag updates automatically. I have no idea why this isn't on by default, but it's not, and it should be.

If you want to see all your current keyboard shortcuts laid out and searchable, Ctrl+K Ctrl+S opens the keyboard shortcuts editor. You can search, edit, and add bindings right there. Worth bookmarking mentally if you ever find yourself fighting muscle memory from another editor — you can just remap things to match what you're used to.

Anyway, hope this saves you some time. The VS Code shortcut rabbit hole goes deep if you want to keep digging — the keybindings JSON file alone is worth an entire separate post — but these should be enough to meaningfully speed up your day-to-day without having to memorize a wall of key combos.

Related: VS Code Tips and Tricks That Actually Save You Time (Not the Obvious Ones)

๋Œ“๊ธ€

Mojang Session Servers Down? Here's Why You Can't Log Into Minecraft Right Now

Photo by Patrik Kernstock on Unsplash So you sit down to play some Minecraft, probably after a long day, maybe you've got friends waiting in a server lobby, and you get smacked with this: Failed to connect to the server. Error: Authentication servers are down for maintenance. Or sometimes it shows up as: Failed to login: Invalid session (Try restarting your game and the launcher) Yeah. The Mojang session servers are down, or at least they're not talking to your game properly. I've seen this come up constantly in forums and Discord servers whenever there's a Mojang outage, and the frustrating part is — half the time people don't even realize it's not their fault. Here's what's actually going on. Why This Happens Minecraft doesn't just let you waltz into a multiplayer server. Every time you connect, your client reaches out to Mojang's session servers at session.minecraft.net to verify you...

what is art therapy AI painting checker Introducing the AI HTP Test Site: A New Era in Art Therapy

 #what is art therapy #art therapy activities   AI Art Above is the AI ​​picture psychological test. Below is the AI ​​HTP tree human house test.  Psychotherapy test AI Art Psychotherapy HTP test Introducing the AI HTP Test Site: A New Era in Art Therapy What Is HTP? HTP (House-Tree-Person) is a well-known projective drawing test commonly used in art therapy and psychological evaluation. Participants draw a house, a tree, and a person, and mental health professionals interpret these drawings to gain insights into the individual’s emotional state, personality traits, and underlying issues. AI Meets HTP Thanks to advancements in artificial intelligence, the HTP test has evolved. Our AI HTP Test Site allows you to upload your drawings and receive a detailed, automated analysis. The system evaluates various elements—line thickness, spatial arrangement, color usage, and more—to provide immediate, data-drive...

์ด ๋ธ”๋กœ๊ทธ ๊ฒ€์ƒ‰

Zoho Mail IMAP Not Working: Every Fix I've Actually Used

Quick Summary Zoho Mail IMAP stops working for the dumbest reasons - wrong port, 2FA blocking app passwords, or DNS that looks fine but isn't. I've fixed this across Outlook 2016, iPhones, Android, and Mac Mail, and the root cause is almost always one of four things. Here's the exact step-by-step with real menu paths so you're not clicking around for two hours like I was the first time. Photo by Juanjo Jaramillo on Unsplash It was a Monday morning. One of our sales guys walks up and says his Outlook stopped pulling emails from Zoho. Just stopped. Overnight. Nothing changed - or so he said. Checked his machine, checked the account settings, everything looked right on the surface. Port 993, SSL enabled, correct email address. And yet. Nothing. Here's the thing - Zoho Mail IMAP issues have this annoying pattern where the settings look correct but something underneath is broken. Could be an app password that got invalidated when someone toggled 2FA. Could be IMAP ac...
↑