Re: vim linebreaks in Mutt
Rob Owens <email@example.com> writes:
> What's the proper setting to get good line breaks in Mutt (using vim),
> without manually hitting the enter key? (So that this paragraph, for
> instance, is not one long line of text, but rather several shorter lines of
> I currently have this in .muttrc:
> set editor="vim -c 'set wrapmargin=5'"
> This breaks my lines 5 characters from the right of my terminal. Problem
> is, that varies depending on how large my xterm is at the time I'm
> composing the email. I often toggle to fullscreen, and that makes my lines
> get much longer.
> Sorry if this is off-topic, but I've noticed there are at least a couple
> Mutt users on the list.
I am not a Mutt user, but I am a vim user. You would just use
textwidth=72 instead of the wrapmargin=5 (or use tw for textwidth).
You can also put that in your .vimrc as:
Carl Johnson firstname.lastname@example.org