Overview
Pumping is a skateboarding technique used to accelerate without the rider's feet leaving the board. Pumping can be done by turning or on a transition, like a ramp or quarter pipe. When applied to longboards, it is also known as Long distance skateboard pumping or LDP. Pumping is a technique similar to pumping a surfboard.
Transition
Transition pumping can only be done when there is a slope differential between the front and rear wheels. On a ramp it therefore is only possible at the top and bottom of the slope, but in a pipe it is possible at any height above the flat. The rider should push downward on the truck with the greatest slope under the wheels. On the top of a ramp the front wheels should be pushed, and at the bottom the rear trucks should be pushed. On a pipe the weight should be applied to the rear truck throughout the entire transition.
Slalom
Flatland pumping is essentially carving with the proper amount of weight application in order to gain momentum. It involves shifting weight in sync with the board's movements in order to gain momentum, like pivoting, but with all four wheels on the ground. By proper timing, the proper foot position, and the proper set up, impressive results can be achieved.
Long Distance Pumping
From Wikipedia (CC BY-SA 4.0).