Toggle Word Wrap in Vim

Toggling word wrapping in vim is easy with:

:set wrap!

Toggling wrap to true in nvim

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

References: