in a flash
in a flash also in a trice  {adv. phr.}
Very suddenly. 
We were watching the bird eat the crumbs; then I sneezed, and he was gone in a flash.
Bob was looking over his notes for English class and in a flash he knew what he would write his paper about.
Categories: 
 
Source: A Dictionary of American Idioms
