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

How do you show line numbers in Vim?

Answer

set number

Explanation

Use set number (or set nu) to display absolute line numbers in the left margin. Toggle off with set nonumber.

Next

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