`<Home>` and `<End>` don't work the same in normal and insert mode
Open
Nobody has claimed this yet.
kind/bug
status/needs-more-info
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
1 abcdefgthijklmn
2 012345678912345
- suppose one line have 15 letter as above
- With Insert Mode, my cursor at col 10.(current cursor pointer to number 9)
- I Press Home, cursor go col 0. (cursor Point to mnumber 0)
- I Press arrow right, cursor go col 11, not col 1.
My question is: In step 4, why cursor not go to col 1?
By the way, with normal mode, Home work as expected.(in step4, cursor with go to col 1 with step 2 is Normal mode)
- Issue Type: Feature request
- Extension Name: vim
- Extension Version: 1.21.8
- OS Version: Macos 11.6
- VS Code version: 1.61.1
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 behavior in the VS Code Vim extension using the reported insert-mode sequence: Home followed by Right, then compare it with normal mode. Start by tracing the key handling for Home and arrow keys in insert mode. Done means the insert-mode behavior is clarified and matches the intended column movement, with regression coverage if the project provides a relevant test location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vim
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100