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

How do you set automatic line wrapping at a specific column?

Answer

set textwidth=80

Explanation

Set textwidth (or tw) to automatically insert line breaks when typing past the specified column. Use 0 to disable. Applies to new text only.

Next

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