Daily Software Tips & Tricks

Bite-sized knowledge to improve your coding skills daily.

VS Code's Hidden Superpower: Multi-Cursor Magic

February 5, 2026

Stop copying and pasting the same variable name multiple times! If you need to change occurrences of a word simultaneously, try selecting the word and hitting `Ctrl+D` (or `Cmd+D` on Mac). Each press selects the next instance, allowing you to edit them all at once. For more surgical strikes, hold `Alt` (or `Option` on Mac) and click exactly where you want a new cursor to appear. It's a game-changer for refactoring small blocks of code quickly and efficiently.