Sublime Text 2 edit multiple selections
13 february 2012 2 comments
A very usefull feature in Sublime Text 2 that makes editing of multimple instances of the same word very fast. This will definatly save you some time and help you code faster.
I would like to share with you a very neat feature from my editor of choice Sublime Text 2 my editor of choice Sublime Text 2 that makes me smile every time I use it.
The keyboard shortcut Ctrl + D allows you to select the word closest to your cursor position. That's very handy, but if you have multiple instances of that word, you can select them one by one by presing the same keyboard combination several times.
So for exmaple if you have a class set on multiple elements and you need to change that to something else, you just point the cursor on the class, press Ctrl + D as many times as there are class instances and then you can type the new class name.
U Auth 2012-04-14 09:17:04
U Rita 2012-04-09 02:33:58