Yaron <jethro at freakzilla.com> writes:

>   Hi,
> 
> On Tue, 13 Feb 2001 dopp at acm.cs.umn.edu wrote:
> 
> > Vim does a great job of word wrapping.  Throw this in your .vimrc
> > set textwidth=75
> 
> Yeah, that's nice, but now all my shell scripts will be wrapped, too.
> 
> > This sets the maximum length of a line to 75 characters.  If a word puts you
> > over 75, that word will be wrapped to the next line (like a emacs-type
> > editor).
> 
> [x]emacs doesn't wordwrap by default. Actually I've never been able to
> figure out how to get i to wordwrap - not that I've tried very hard
> (probably meta-x word-wrap-mode-on or something).

auto-fill-mode.  This can be put in the text mode hook but not in the
shell-script mode setup, so you get wrapped text, but not wrapped
shell scripts.

It will also fill comments in perl, which can be *very* handy. 
-- 
David Dyer-Bennet      /      Welcome to the future!      /      dd-b at dd-b.net
SF: http://www.dd-b.net/dd-b/          Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/