Word wrap in Gvim

前端 未结 6 1576
北恋
北恋 2020-12-23 11:15

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

6条回答
  •  执笔经年
    2020-12-23 12:00

    :set tw=78
    

    sets the text width to 78 characters. You can use "[movement]gq" to re-wrap some text.

提交回复
热议问题