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

vim: Add repeat support for add_surround #14746

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

weartist
Copy link
Contributor

Fix: #14242

At present, we don't trigger the method start_recording(cx) to start recording when typing add_surround, so it can't be repeated well, delete and change actually don't increase, but when entering d and c, it happens that these two operations are recorded, I think maybe we also need to call start_recording(cx) when calling delete_surround and change_surround, otherwise when the user modifies their shortcuts, these two functions may not be supported by repeat

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jul 18, 2024
@maxdeviant maxdeviant changed the title add repeat support for add_surround Add repeat support for add_surround Jul 18, 2024
@maxdeviant maxdeviant changed the title Add repeat support for add_surround vim: Add repeat support for add_surround Jul 18, 2024
@ConradIrwin ConradIrwin merged commit 7d30175 into zed-industries:main Jul 18, 2024
11 checks passed
@ConradIrwin
Copy link
Member

Thanks! On a roll :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vim surround dot repeat not working
2 participants