1

This question already has an answer here:

According to the Emacs tutorial:

Type M-x auto-fill-mode now. Then insert a line of "asdf " over again until you see it divide into two lines. You must put in spaces between them because Auto Fill breaks lines only at spaces.

In other words, Emacs will automatically create a new line after a certain threshold.

How do I do the same in Vim, and how can I do this with already written text?

marked as duplicate by Martin Tournoij Apr 12 '17 at 2:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.