This website have moved to

How to prevent NeoMutt from making line breaks in Neovim when you compose a message

Tuesday, May 26, 2020

When I compose a message in my e-mail client NeoMutt my editor Neovim inserts automatic line breaks after about 73 characters. I don’t like it at all.

Thankfully you can easily fix this by adding a few parameters to the $EDITOR for your NeoMutt configuration file:

set editor="vim +':set textwidth=0' +':set wrapmargin=0' +':set wrap'"

This should work fine with Mutt and Vim as well.



If you want to leave feedback, you can do so by either sending me a message via email, XMPP or via IRC.