> I'm no pro, but the following, without squashing works. And yes, I know > that at the end of the file it might give an error. > :g/^ *$/+1 s/^ *[^ ]/<p>&/ that does indeed do the trick! now i just have to decipher the regex so i understand it. thanks! adam.