Skip to content

Conversation

kiing-dom
Copy link

  • Add ChangeCommand class supporting :c[hange] ex-command
  • Support count and range operations (:c2, :2,3c)
  • Replace deleted lines with blank line and enter insert mode
  • Add comprehensive test coverage for all variations
  • Fix ExCommandLineEnter to preserve insert mode for change command

Closes #9729

What this PR does / why we need it:
Implements the :change ex-command (:c) including range/count support, bringing VSCodeVim closer to Vim’s command parity.
Which issue(s) this PR fixes

Special notes for your reviewer:

- Add ChangeCommand class supporting :c[hange] ex-command
- Support count and range operations (:c2, :2,3c)
- Replace deleted lines with blank line and enter insert mode
- Add comprehensive test coverage for all variations
- Fix ExCommandLineEnter to preserve insert mode for change command

Closes VSCodeVim#9729
@kiing-dom kiing-dom changed the title feat: implement :change command feat: implement :change ex-command Aug 28, 2025
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.

Feature enhancement: support :range c (multiline change) in ex command mode
1 participant