Activate Insert mode jump back to last edit row
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
In the current version (1.29.0), the cursor always jumps back to the last position in Insert mode. This can be quite frustrating, especially if you’re used to pressing I or A and expecting to start editing at that position. Now, however, it might take you hundreds of lines away from where you intended to make changes.
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to a line and enter Insert mode.
- Press ESC.
- Move a few lines down and start Insert mode again.
- The cursor jumps back to the last position from step 1.
Expected behavior
When I enter Insert mode, I expect to start editing exactly at the current cursor position.
For now, I have downgraded to 1.28.1, which restores the expected behavior.
- Extension (VsCodeVim) version: 1.29.0
Version: 0.45.11
VSCode Version: 1.96.2
Commit: f5f18731406b73244e0558ee7716d77c8096d150
Date: 2025-02-07T09:43:58.555Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0
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
Reproduce the Insert-mode behavior described in VSCodeVim 1.29.0, then compare it with 1.28.1 where the behavior was restored. Trace the Insert-mode entry handling and verify that starting Insert mode at a moved cursor position no longer jumps to the previous edit location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100