I am looking at files that may have several consecutive identical lines.

Is there a easy way of jumping to the next non-identical line?

Alternatively I would like to be able to fold all the lines that are equal to the initial one showing just the number of linees that are folded.