Did you know that you can record keyboard macros in Visual Studio?

Let's say you've got thirty lines of similar code (maybe adding literal strings to a list or something), and you want to make a similar change (say, upper-case the first character of the string) to every line. The lines don't quite line up, so you can't just do a column-select (Alt+mouse-drag) to grab them all. What do you do?

First, you hit "Ctrl+Shift+R" to begin recording a macro.

Next, you hit "Home" and then Ctrl+Right-Arrow until you're at the character you want to delete. You hit "Delete" and then down-arrow to move to the next line.

Now hit "Ctrl+Shift+R" to stop recording.

Now you're all set to play your macro back using Ctrl+Shift+P! It'll play those keystrokes back, which will delete the character the same number of words into the line as the last, and then move to the next line!

Keyboard macros are really handy for quick, repetitive jobs, and knowing about Ctrl+Shift+R and Ctrl+Shift+P just makes them so easy!