On Thu, Jan 07, 2021 at 06:40:35PM +0100, Jens John wrote: > 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 >
It's probably akin to perl - more than one way of doing it. I use a shorter line length, " Wrap mail messages at 68 characters when I'm editing in mutt autocmd filetype mail setlocal textwidth=68 ĸen -- Lu-Tze had long considered that everything happens for a reason, except possibly football. -- The Thief Of Time