textwidth/linewrap

Jens John lists at 2ion.de
Thu Jan 7 17:40:35 UTC 2021


On Thu, 7 Jan 2021, at 18:25, tech-lists wrote:
>
> I guess lots of people would use mutt with vim-console.
> 
> Can anyone tell me please what setting they use for line 
> wrapping? I thought in .vimrc it'd be
> 
> set textwidth=72
> 
> but that doesn't seem to work. Is it a setting in .muttrc
> or in .vimrc? Or an additional setting?

A syntax plugin may override your settings. I suggest trying the following line in your vimrc:

autocmd BufNewFile,BufRead mutt-* set tw=72 syntax=mail

Personally, I use

autocmd BufNewFile,BufRead mutt-* set tw=72 autoindent noruler syntax=mail




More information about the Mutt-users mailing list