On Fri, Feb 28, 2014 at 10:39:19AM -0800, Gary Johnson wrote:
> On 2014-02-28, YuGiOhJCJ Mailing-List wrote:

> > On Mutt 1.5.21, my editor is Vim 7.3.
> > I don't like when it breaks automatically my lines when I am
> > writing an e-mail.
> > 
> > Is there a way to disable the text wrapping in Mutt?

> Then create a new file under your ~/.vim directory,
> ~/.vim/after/ftplugin/mail.vim.  In that file put the Vim commands
> you want executed when you start editing a message.  In your
> example, that would be
> 
>     setlocal formatoptions-=t

Or you can do:

if has("autocmd")
    au FileType mail set tw=0
endif

That said, you should probably wrap your emails at < 80 characters, even
if you don't think you should.

w

Reply via email to