beat the air

Verb

 * 1) To fight to no purpose, or against an imaginary enemy.