Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Vim plugin does not repeat the previous paste operation when using the dot command (.)

Open SunRunAway opened this issue 2 years ago • 2 comments

Describe the bug The Vim plugin in VSCode does not repeat the previous paste operation when using the dot command (.) after entering insert mode and pasting copied text.

To Reproduce Steps to reproduce the behavior:

  1. Copy a piece of text.
  2. Press i to enter insert mode.
  3. Press Command + V to paste the previously copied text.
  4. Press Esc to return to normal mode.
  5. Press . to repeat the previous operation (pasting).

Expected behavior The Vim plugin in VSCode should repeat the paste operation when pressing . after entering insert mode and pasting copied text.

Screenshots N/A

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.25.2
  • VSCode version: 1.79.2
  • OS: macos 13.4.1

Additional context Add any other context about the problem here.

SunRunAway avatar Jul 07 '23 17:07 SunRunAway

I'm having the same issue with the current latest version. My observations:

  1. If I have typed text before pasting, dot repeat works as expected
  2. If I have typed text after pasting, dot repeat only includes typed text but not pasted text

hexacera avatar Dec 26 '23 09:12 hexacera