vimtricks.wiki Concise Vim tricks, one at a time.

How do you execute a normal mode command on a range of lines?

Answer

:%normal A;

Explanation

Use :%normal followed by normal mode keystrokes. :%normal A; appends a semicolon to every line. Works with any range.

Next

How do I visually select a double-quoted string including the quotes themselves?