One of the more frustrating aspects of working with code is making certain the final product is visually consistent. As I read bookstore newsletters and browse websites, I see that I’m not alone with this annoyance. When copying and pasting from websites and emails, the text formatting often tags along and you might end up with text that is slightly larger or a different color in places.
A quick fix for this problem is to add one more keystroke to the paste shortcut. Before you hit CTRL+V to paste text (or ⌘+V for Mac users), hold down on the shift key. This will remove any formatting associated with the text.
And if you accidentally remove formatting that you actually intended to copy and paste, well, that’s why we have the undo button. (My second favorite shortcut.)