I'm aware of the 'gq' command to put in hard returns so as to word wrap a
paragraph. Is there a setting for that to occur automatically when I type
a text file? Thanks.
Sounds like you're looking for
:set linebreak tw=80
or some such combination of items.
:help 'linebreak'
:help 'tw'
There are occasions where it won't reformat the entire paragraph,
but only what follows the cursor on the current line when you're
editing, but I much prefer manually issuing
gqip
to rewrap the paragraph (or some similar object/motion for my
reformatting-target-of-interest) over having an editor try and be
too smart for its own good, but get it wrong (like MS-Word and
any number of other apps where I really *do* mean what I typed,
despite the funky case, indentation, or whatever).
-tim