vim-repeat icon indicating copy to clipboard operation
vim-repeat copied to clipboard

vim-repeat+vim-speeddating: repeats previous-previous action after undo

Open strottie opened this issue 4 years ago • 1 comments

I've got vim-speeddating and vim-repeat loaded and find that undo followed by repeat does not repeat the correct action.

Example:

  1. in normal mode, A0<ESC>.
  2. . appends 0's, as expected.
  3. ^A increments the number
  4. . repeats the increment
  5. u undos the last increment
  6. . now appends 0's again, instead of the last increment action.

With vanilla vim, step 6 repeats the increment action.

strottie avatar Dec 19 '20 06:12 strottie

Same happens with vim-surround, if you press u then you can't use . anymore after to repeat an action (e.g. cs"')

michelesr avatar Dec 24 '22 14:12 michelesr