Tip 30: Run Normal Mode Commands Across a Range
Return to the top: <<Practical Vim>>
Example: append a semicolon at the end of a series of line.
Way #1: dot command
Way #2: Visual mode + :normal
Ex command
Way #3: :normal
Ex command
Example: comment out the entire JavaScript file.