
As/whenever, etc. the fancy takes you
Spontaneity
This phrase suggests an action taken on a whim without planning. 
Frequency
Implies no time restriction, action can happen often or rarely. 
Informal
Best used in casual conversations rather than formal or academic writing. 