End vim macro in insert mode

  1. Start recording macro (i normaly use qq)
  2. Do commands, end in insert mode
  3. Ctrl-o
  4. q
  5. Macro is now ended and saved in insert mode