Hund

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

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.

Meta

No Comments

Use the e-mail form, if you wish to leave feedback for this post. Markdown is supported. [Terms of service]