Closed justinmk closed 9 years ago
Is this confirmed to be Windows only?
Possibly relevant: d8f7fe7. One solution could be to use norm
on Vim 7.4.
Also reproduced on a a Bodhi Linux box with Vim 7.2.330 (and confirmed that the issue does not occur if repeat.vim is not sourced).
Thanks for linking that commit, it will be helpful for reporting to vim_dev.
Also occurs on MacVim. Sorry for the confusion. When I tested on MacVim before, I hadn't yet narrowed down the minimum steps.
Reported to vim_dev: https://code.google.com/p/vim/issues/detail?id=212
:nnoremap . :call feedkeys(".", "n")<cr>
is enough to reproduce the issue.
vim_dev has given some attention to this issue, and it appears that there is no general solution for feedkeys(). So here's a PR that uses :norm
for Vim >= 7.3.100: https://github.com/tpope/vim-repeat/pull/36
Actually feedkeys
just got a new flag i
that could now be used: Patch 7.4.601
@wellle send a PR!
@justinmk: #39
On Windows gvim with repeat.vim, replaying a macro that contains a dot-repeat invocation will insert the
@.
register instead of repeating.confirmed on:
Minimal steps to reproduce:
gvim.exe -N -u NONE
:source repeat.vim
qqdw.ifoo<esc>q
@q
Which is wrong. The expected result is:
This could be a bug in
feedkeys()
...