AFAIK you can't jump while holding onto a ledge and it's not necessary to complete the game. (you can jump while standing on a narrow beam though)