Set the wrapmargin (wm) option to a value greater than 0 (zero). For example:
set wm=5
In insert mode, text is wrapped five (5) characters from the right margin of the screen and a < RETURN> character is automatically inserted.