Toggle Word Wrap in Vim

· 1 min read

Toggling word wrapping in vim is easy with:

:set wrap!

This flips between wrapped and unwrapped lines without having to remember :set wrap vs. :set nowrap.

References:

← Back to all posts