On Mon, Aug 28, 2006 at 10:15:00AM EDT, Mikolaj Machowski wrote:
> Dnia sobota, 19 sierpnia 2006 05:36, cga2000 napisa?:
> >
> > Is there any way I can tell Vim that when line 1 starts with a number
> > followed by a dot '.' .. the following lines should be indented so that
> > all the text is aligned.
> >
> > Not simple .. I guess .. since this could move into double digits (or
> > more..) -- there could be more than nine numbered paragraphs and text
> > should start in column 5 (or 6..).
> 
> Vim7 option 'formatlistpat'::
> 
>     set formatlistpat=^\\s*\\(\\d\\+\\\|[A-Za-z]\\\|ps\\)[\\]:.)}]\\s\\+
> 
> will format digit and alpha/Alpha lists plus postscripts in mails.
> 
.. and I can't even test it since I'm still running Vim 6.4.

:-(

I'll add it to my .vimrc as a comment so I don't lose it .. and keep you posted
after I upgrade.

Thanks

cga

Reply via email to