at the moment; at the instantWritten separately when «миг» is a noun meaning “moment,” often in the phrase «в миг, когда…» (“at the moment when…”). The adverb meaning “in an instant” is usually written «вмиг».
RU: В миг, когда он вошёл, все замолчали.
EN: At the moment he came in, everyone fell silent.