Sublime Text’s Ctrl + D - Select Next Match Like a Pro
In Sublime Text, Ctrl + D
is the ultimate power tool for those times when you need to select and edit multiple occurrences of the same word. Imagine this: you realize you’ve used the same variable name throughout your code, but you want to change it—manually hunting down each instance would take ages. Instead, just place your cursor on the word, hit Ctrl + D
, and Sublime will instantly highlight the next occurrence. Keep pressing Ctrl + D
to select more matches, and now you’re editing them all at once. It’s like having superpowers! You can change variable names, update keywords, or tweak any recurring phrase across your document in a flash. For repetitive changes, this shortcut is a game-changer. Forget going line by line; with Ctrl + D
, you’re editing like a pro, saving time and maintaining focus. This shortcut isn’t just about speed—it’s about efficiency and making sure your edits are consistent across your codebase. It’s one of those small tools that makes a huge impact in the long run.