I’m in in MacVim, but I’m guessing this applies to gVim as well. In insert mode, if I paste from the system clipboard ⌘–v then get out Esc then repeat . all it does is move the cursor back a space. It’s not registering the system paste as part of the keystrokes I typed.
Strangely, if I type ⌘–v in normal mode, I can hit . after to repeat it and it works fine.
I know I could type <c-r>*, but that is bad.
I tried inoremap <D-v> <c-r>* but it seemed to have no effect.
Try putting this in your ~/.gvimrc: