Fix some cases of broken repeat in vim (#4132)

Release Notes:

- Fixed a case where `.` in vim might not repeat the last action
578bcecdb6Conrad Irwin committed on 1/18/2024, 8:39:41 PM· committed by GitHubparentsd64207e4e118f3
4 files changedLine totals unavailable