Daily Software Tips & Tricks
Bite-sized knowledge to improve your coding skills daily.
The Power of Multi-Cursors
February 16, 2026
If you're still manually renaming variables one by one across a file, your keyboard is waiting for you to discover the power of multi-cursors. Highlighting a word and hitting `Cmd+D` (or `Ctrl+D` on Windows) will select the next occurrence of that exact string.
It’s an absolute game-changer for refactoring small blocks of code or repetitive HTML tags. Once you have multiple cursors active, anything you type or delete happens in all spots simultaneously. It feels like a superpower once it becomes muscle memory.