Daily Software Tips & Tricks
Bite-sized knowledge to improve your coding skills daily.
Master the Multi-Cursor Skip in VS Code
May 27, 2026
Most devs know that pressing `Ctrl+D` (or `Cmd+D` on macOS) selects the next occurrence of the highlighted word. It’s a game-changer for quick renaming. But what happens when you accidentally select a variable you didn't want to change?
Instead of hitting escape and starting all over, you can use `Ctrl+K` followed by `Ctrl+D` (or `Cmd+K` then `Cmd+D` on Mac). This nifty combo skips the currently highlighted occurrence and jumps straight to the next one, keeping your other selections intact. It's a massive time-saver when refactoring.