the spirit moves (one)
One feels inclined or compelled to do something. Typically preceded by "as," "if," or "when." Laura's grades are so bad because she only comes to class as the spirit moves her. I usually stay home on weekends, but I'll go out if the spirit moves me.
the spirit moves someone
someone feels inclined to do something. This was a phrase originally used by Quakers, with reference to the inspiration of the Holy Spirit.