Skip to content

fix: dd over a single line holding a folded block now deletes the whole block #9933#9934

Open
escoberik wants to merge 1 commit intoVSCodeVim:masterfrom
escoberik:dd-should-affect-folded-blocks
Open

fix: dd over a single line holding a folded block now deletes the whole block #9933#9934
escoberik wants to merge 1 commit intoVSCodeVim:masterfrom
escoberik:dd-should-affect-folded-blocks

Conversation

@escoberik
Copy link
Copy Markdown

What this PR does / why we need it:
Typing dd over a line holding a folded block now deletes the whole folded block instead of just that line.
This behavior matches better what vim does.

Which issue(s) this PR fixes
#9933 also includes yy but this PR only fixes dd so it won't actually closes the issue.

Special notes for your reviewer:
This is my first PR so I'm not sure I'm on the right path but if it looks good I can fix yy as well.

@escoberik escoberik force-pushed the dd-should-affect-folded-blocks branch from 51f6ca6 to 14dc46f Compare February 14, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant