left arrow after end key goes to beginning of the line
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
I am this weird behavior. I have below text.
- cursor is in line 2 (
this is line two) - press o to insert below. Cursor goes to position marked X below
- press up-arrow. cursor goes beginning of line
this is line two - press
Endkey. Cursor goes to end of line two - Now press left-arrow, cursor goes to the beginning of the line instead of moving back by one char.
this is line one
this is line two
X
-
This happens most of the times. Doesn't happen sometimes.
-
I did not see any errors when VIM log-level is set to DEBUG.
-
I can see that
extension.vim_leftis the command when left arrow is pressed.
looks like its going last position in the jump list? -
Extension (VsCodeVim) version: 1.26.1
-
VSCode version: 1.83.1
-
OS: Mac OSX Ventura 13.5.2, Apple M2 Max
Version: 1.83.1 (Universal)
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:46:55.789Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.6.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 arrow-key sequence described in the issue, then inspect the extension.vim_left command and the cursor movement it triggers. Done means pressing Left after End consistently moves back by one character rather than jumping to the beginning of the line, with a regression check for the reported sequence.
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
- 38/100