Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Fix repeatable dot

Open s-kai273 opened this issue 1 year ago • 0 comments

What this PR does / why we need it:

  • [x] fix repeatable dot when previous action is insert and replace one
  • [x] test codes of repeatable dot

Which issue(s) this PR fixes This PR fixes https://github.com/VSCodeVim/Vim/issues/8938

Special notes for your reviewer:

Repeatable dot of insert

  • example previous action: ivar
  • given text: ``(cursor is at beginning of line)
  • repeatable dot: 4.
  • result before fixing: vavavavarrrr
  • result after fixing: varvarvarvar

Repeatable dot of replace

  • example previous action: r.
  • given text: aaaaa(cursor is at beginning of line)
  • repeatable dot: 4.
  • result before fixing: .aaaa
  • result after fixing: ....a

s-kai273 avatar Apr 07 '24 15:04 s-kai273