Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix repeating change action with count #1053

Merged

Conversation

citizenmatt
Copy link
Member

Repeating the c command should not repeat inserting the text. This is mostly visible when the command is initially made with a count. E.g. 2c3l will change 6 characters. Hitting . should also change 6 characters and shouldn't repeat inserting the text 6 times.

This PR adds CommandFlags.FLAG_NO_REPEAT_INSERT, as used by s, S and C.

Fixes VIM-3729

@AlexPl292
Copy link
Member

Thank you!

@AlexPl292 AlexPl292 merged commit a005eb0 into JetBrains:master Dec 4, 2024
4 checks passed
@citizenmatt citizenmatt deleted the bugfix/repeat-change-action branch December 4, 2024 19:35
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.

2 participants