[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim-dev
Subject:    Re: Formatting option
From:       Bram Moolenaar <Bram () moolenaar ! net>
Date:       2004-12-30 16:15:59
Message-ID: 200412301615.iBUGFx5t088291 () moolenaar ! net
[Download RAW message or body]


Jens Paulus wrote:

> On Thu, Dec 30, 2004 at 15:26:36 +0100, Bram Moolenaar wrote:
> > > 7. Formatting option
> > > When the fo option contains the a flag and one character is replaced by
> > > a newline character no formatting is done. This seems to be a bug but
> > > should be kept as a way to produce short lines. The problem with this
> > > formatting is that it otherwise does not allow to produce short lines if
> > > the w flag is not used.
> > 
> > For me doing a "s<CR>" causes reformatting of the text after the
> > inserted line break.
> 
> what I mean is replacing a character to a line break with the r command.

That works the same way, the text after the inserted line break is
formatted.  Perhaps you have some other options set in such a way that
formatting doesn't happen.  Try starting with "vim -u NONE" to rule out
guessing.

-- 
If Microsoft would build a car...
... Occasionally your car would die on the freeway for no
reason. You would have to pull over to the side of the road,
close all of the car windows, shut it off, restart it, and
reopen the windows before you could continue. For some reason
you would simply accept this.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic