Skip to content
Discussion options

You must be logged in to vote

Kakoune's codebase should be a good reference for this. It has similar concepts about transactions and undo checkpoints - what it calls undo groups. I only looked into #13480 briefly so far but it seems like we need to be committing undo checkpoints in many more situations, like while moving around and especially by switching windows with the mouse. For movement within the same buffer we may just need to add undo checkpoints but when switching windows we should most likely switch back to normal mode first. (Also see #5632 and #11062)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CalebLarsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants