My website has moved to a new address: hund.tty1.se

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

Hund

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

Tuesday, May 26, 2020

My website has moved to a new address: hund.tty1.se

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

Feedback

If you want to leave feedback, you can do so by sending me a message via e-mail.