Definitions of on the spur of the moment:

  • adverb:   on impulse; without premeditation
    Example: "He decided to go to Chicago on the spur of the moment"