Selecting and moving page up/down then pressing j/k jumps cursor
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
BUG REPORT
What happened: Going into visual mode by selecting a line with shift+v then moving up half a page using ctrl+u then pressing j or k, the cursor jumps back to the original start position messing up the section.
What did you expect to happen: when pressing j k the cursor moves up or down increasing or decreasing the selction area.
How to reproduce it (as minimally and precisely as possible):
shift+v (select line)
ctrl+u (multiple times so the cursor moves to the edge of the screen)
j or k
Environment
- Extension (VsCodeVim) version: v0.10.13
- VSCode version: Version 1.20.0 (1.20.0)
- OS version: macOS 10.13.3
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 sequence in VS Code: Shift+V, Ctrl+U until the cursor reaches the screen edge, then j or k. Compare the selection and cursor positions before and after the final movement, and verify that j/k extend or shrink the selection instead of returning to its original start position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100