whim

Definition

A sudden or capricious desire or change of mind.

Example

"On a whim, she booked a last-minute trip to Paris."