I am not sure how to do that just with vi but: Since you can easily pass your document through a unix command filter, you could just write your own sed command to do that for you and bind it to a key with map. eg. :1,5 !tr a-z A-Z makes line 1 to 5 uppercase. or :1,10 !sed "s/^[a-z].*/ &/" Might do what you want. I haven't tried it, but, you get the idea. If I could remember off hand how to do a negative search in sed, I would just skip all lines beginning with a number. Joel
On Thu, Dec 27, 2001 at 11:59:46AM -0500, Philip Mak wrote: > Does anyone have a vim configuration to make writing bullets/lists easier? > e.g. when I'm writing something like this: > > --- begin example --- > 1. Pick one of the RaQs to be the DNS server. > 2. E-mail [EMAIL PROTECTED] and ask him for an additional IP for > that RaQ. > 3. When you get the IP, tell me and I'll set the server to use it. > --- end example --- > > it would be nice if when the line wraps while I'm typing point #2, the > cursor starts on column 3 instead of column 0 on the second line.