`dd` in multicursor mode isn't handled correctly
Open
@J-Fields is already working on this.
Since Apr 14, 2021.
area/multicursor
kind/enhancement
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
- Click thumbs-up 👍 on this issue if you want it!
- Click confused 😕 on this issue if not having it makes VSCodeVim unusable.
The VSCodeVim team prioritizes issues based on reaction count.
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Environment:
- VSCode Version: 0.6.20
- VsCodeVim Version: 1.11
- OS: Arch
What happened:
On a file like this (with no newline)
foobar
foobar
foobar
foobar
foobar
put a cursor at the end of every line (I used ctrl+alt+down). Then, press dd.
Half of the lines were deleted, with the cursors in wonky positions.
What did you expect to happen:
All lines were deleted.
For whatever reason, it works fine if there's a newline at the end of the file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.