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

Ctrl+a and Ctrl+x now create undo points correctly and can be repeate… #636

Merged
merged 2 commits into from Aug 24, 2016
Merged

Ctrl+a and Ctrl+x now create undo points correctly and can be repeate… #636

merged 2 commits into from Aug 24, 2016

Conversation

xconverge
Copy link
Member

Will probably close #633 after this and PR #634 get merged

@johnfn
Copy link
Member

johnfn commented Aug 22, 2016

This will definitely work, but the ideal way to do this would just be to make them into Commands rather than Movements. Movements do not create undo points, but Commands do.

@xconverge
Copy link
Member Author

Hmm ok, I tried changing it to inherit from BaseCommand since that was my first thought, but it was doing something funky somewhere later down the line...I will check again

@johnfn
Copy link
Member

johnfn commented Aug 23, 2016

Ready to go?

@xconverge
Copy link
Member Author

good to go

@johnfn
Copy link
Member

johnfn commented Aug 24, 2016

Great! Thanks again, @xconverge!

@johnfn johnfn merged commit bb788a5 into VSCodeVim:master Aug 24, 2016
@xconverge xconverge deleted the more-undo-fixes branch August 26, 2016 23:59
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.

Undo behavior with {}[]()<> does not act exactly as it should
2 participants