https://russkiypro.ru/pravilnoe-pravopisanie-v-mig-ili-vmig/
Правильное правописание: «в миг» или «вмиг»