You can do a second jump if you haven't hit something yet, and that second jump can also redirect you if you hold the movement key of the direction you want to go while doing the second jump.