Vi and a little macro to step through a file of data

I needed to review a large number of data in a file each of which had a variable number of lines. Luckily, each datum started with the pattern ^"http- and so using vi I was able to quickly review the data by

1) creating a macro to find the next datum and move it's line to the top of the screen

qn
/^"http-
zt
q

2) use the macro to move from datum to datum

@n

I found the following helpful in figuring this out http://www.pixelbeat.org/vim.tips.html.