idiom
spur of the moment
una decisión o acción no planeada o espontánea
Meaning
an unplanned or spontaneous decision or action
Example
The idea came **on the spur of the moment** during lunch.
La idea vino **en el spur of the moment** durante el almuerzo.