Basically gotta jump and hit foreward at the same time. The game calculates how far you jump by how far you've ran before you hit jump, so you've gotta jump right after starting to move for the little hops.
(also a reminder that turning your fps to 15 helps make weird jumps)