Moving cursor with mouse should trigger undo stop point
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
This might not be a bug, but an inconvenience
When you're happy editing and start making changes with the mouse, the u undoes everything you did since the last time you pressed ESC.
Check the video
Make multiple changes in multiple lines and then ESC and click u one time
vscode 1.30
vim 0.17.0

Expected Behaviour
Make changes, move lines with mouse, undo goes back one by one
This is Gvim 8.1
windows 10

Undo line-based
I think the cursor movement might trigger some kind of undo history line based but that's just my guess
**Great Plugin btw!!! **
without you I'd given up on vim
Vim is the greatest editor and the worst GUI at the same time
this plugin is the best of two worlds
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the described editing sequence in VS Code Vim 0.17: make changes across multiple lines, move the cursor with the mouse, press ESC, and use u. Compare the undo behavior with GVim 8.1; done means mouse movement creates undo stop points so u reverses changes individually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100