VSCodeVim / VSCodeVim/Vim

"." Command not repeating inserts

Open
#7,369 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
Using "." won't repeat inserts. Instead it moves one to the left. It repeats anything else

To Reproduce
Steps to reproduce the behavior:

  1. In insert mode
  2. type something
  3. exit insert mode via
  4. press "."

Expected behavior
As i press the "." button it should repeat the last insert.

Environment:

  • Extension (VsCodeVim) version: 1.21.10
  • VSCode version:Version: 1.63.2
    Date: 2021-12-15T09:39:46.686Z
    Electron: 13.5.2
    Chromium: 91.0.4472.164
    Node.js: 14.16.0
    V8: 9.1.269.39-electron.0
    OS: Linux x64 5.11.0-43-generic snap
  • OS: Ubuntu 20.04.3 LTS

Additional context
I've been using my vimrc, but setting this option off, doesn't change the issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the listed insert-mode steps in VSCodeVim on the reported environment, then trace the handling of the "." command and compare it with other repeatable commands. Done means pressing "." after leaving insert mode repeats the most recent insert instead of moving left.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.