Daily Software Tips & Tricks
Bite-sized knowledge to improve your coding skills daily.
Speed up repetitive edits with Multi-cursors
February 10, 2026
If you find yourself manually changing a variable name in five different places within a single file, stop right there. In VS Code, you can hit Cmd+D (or Ctrl+D on Windows) to select the next occurrence of the word your cursor is currently on. Once you've selected them all, you can type once and update every instance simultaneously. It's a massive time-saver for those quick refactors that don't quite need a full global search-and-replace.