VSCodeVim / VSCodeVim/Vim

Undo add new line for every existing lines

Open
#4,176 11 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
When I press 'u' to undo all the changes, it adds new line for every existing lines in my file while ctrl-z doesn't do the same thing.

To Reproduce
Steps to reproduce the behavior:

  1. Go into a file
  2. Make changes
  3. Hold u to undo all the changes

Expected behavior
New lines getting added for every existing line.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.11.2
  • VSCode version: 1.39.1
  • OS: Window

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 reported behavior in VSCodeVim 1.11.2 with the u key, then compare it with Ctrl-Z in the stated VS Code and Windows environment. Done means undoing the changes does not add a new line for every existing line; the issue does not name a file or test to begin with.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.