IDIOMS

on the spur of the moment

(idiomatic) On very short notice; unplanned; spontaneously; impromptu.

Example:   They keep their bags packed so they can leave on the spur of the moment.