Elroyjetson

How to soft wrap text in VIM

Posted on: by

I use markdown for blogging on this site and I don’t like to artificially put in linefeeds in my text. But if you are using VIM the lines get too long if you don’t. So I got to wondering if there was a way to soft wrap the text. It turns out there is and it is pretty simple.

:set wrap linebreak textwidth=0

Thats it. Now the text will wrap based on the size of your window and not some artificial boundary.

Tags: ,

Updated: