Search code examples
vimword-wrap

Word wrap in Gvim


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


Solution

  • 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