I recently converted from TextMate to MacVim with Janus for editing my markdown files.

How can I reformat an old markdown file so that lines longer than 79 characters are converted from a single line into multiple lines?

link|improve this question

64% accept rate
feedback

1 Answer

Try this:

:set textwidth=79

Then gggq}

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.