William Estep

My journey to retire and sail. Writing, reading, technology, programming, photography, coffee, equality, sailing, and the oxford comma.

MacVIM Word Wrap Quick Fix

Category: Technology
Tags: programmingvim

Using vim at home and work now. I’ve run across some key config settings to make life easier.

My use of vim at work and home are very different. At work, it’s more programmer based stuff, while at home the text I work with is longer and more writing oriented, blog posts, long form fiction, mostly text files using markdown for formatting.

I like the Janus build, but the wrapping is a bit awkward. I ran across this great fix by Siavash Ghorbani. Add the following to your .vimrc.local file:

set textwidth=0 
set wrapmargin=0

Simple fix, and it did the trick.

Similar Posts


© William Estep