Word wrap in Gvim

Epsilon Vector picture Epsilon Vector · Apr 13, 2009 · Viewed 28.3k times · Source

How do I make Gvim word wrap in such a way that doesn't break words in the middle?

Answer

Epsilon Vector picture Epsilon Vector · Apr 13, 2009

Looks like there is a solution online after all.

:set formatoptions=l
:set lbr

Link: http://vim.wikia.com/wiki/Word_wrap_without_line_breaks