Wrap Text in Vim
You have an existing block of text or code in Vim. You want to re-format it to wrap to 80 characters.
Select the lines of text you want to re-format:
If want the 80 character setting to apply automatically
for file types like Markdown,
add this to your
au BufRead,BufNewFile *.md setlocal textwidth=80