Daily Software Tips & Tricks
Bite-sized knowledge to improve your coding skills daily.
Stop Repetitive Typing with Multi-Cursors
February 19, 2026
If you're still clicking and typing the same thing on five different lines, your keyboard is waiting to save you some time. In VS Code, use Cmd+D on Mac or Ctrl+D on Windows to select the next occurrence of the word your cursor is currently on. Once you've highlighted a few, any typing or deleting you do happens at all those spots simultaneously. It's perfect for renaming local variables or wrapping a list of strings in quotes without needing a complex regex.