While hanging from a ledge, hold down L1, L2, R1, and R2 while pressing up.
Press R2, circle, and up at the same time.