You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@johnfn took a quick stab at this issue in 7ac106d but the behavior does not fully match the way vim works yet.
When writing something where you open and close the brackets then fill in the interior, a new undo point should be created.
ex: if(true){
}
then filling in
if(true){ int i = 0;
}
an undo point is created in the first step during insert mode, so pressing u once will get back to the first step, and pressing u again will clear it all.
Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.
then move the cursor to the first 0, and use ctrl+a to increment it, then move the cursor to the 2nd 0 and use ctrl+a to increment it. Pressing u Undoes both, it should only undo one
There is still something funky about when new undo points are created
@johnfn took a quick stab at this issue in 7ac106d but the behavior does not fully match the way vim works yet.
When writing something where you open and close the brackets then fill in the interior, a new undo point should be created.
ex:
if(true){
}
then filling in
if(true){
int i = 0;
}
an undo point is created in the first step during insert mode, so pressing u once will get back to the first step, and pressing u again will clear it all.
Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.
Technical details:
The text was updated successfully, but these errors were encountered: