There are many times where you want to rename a variable that appears in many lines right? How can you do that with Sublime Text 2?
Alt + F3 <while having the cursor on what you want to rename>
Alt + F3 selects too many variables you can use to select them one by one (selects the next appearance each time you press it)
Ctrl + D <again while having the cursor on what you want to rename>
I know it’s really simple shortcut & you might be wondering why did I even post about it. Well .. the reason is that I simply forget it every time and I thought of writing it here so I know where to find it when I need it. Cause apparently I’m searching with the wrong keywords (multiple line editing in Sublime Text 2) and I don’t get the quick answer I need.
Hope this will be useful to somebody else as well 🙂
Update: Found this nice about the multiple selection keyboard shortcuts for Sublime Text 2
Have a nice day!