Selection with `v` (small v) will not go beyond a blank line if we prepend `j` with a number.
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
Selection with v (small v) will not go beyond a blank line if we prepend j with a number.
To Reproduce
Copy the following poem to your code editor.
In VSCode's realm, where coders dwell,
A tool emerged, oh, how it befell,
VSCodeVim, its name did ring,
Bringing Vim's power to code and string.
With keys of Vim, in VSCode's hold,
Insert and command, as stories unfold,
In every line and snippet's call,
Efficiency and speed stand tall.
No need to leave your cozy home,
VSCode's embrace, where you'll roam,
With VSCodeVim, you'll find the way,
To code with ease, both night and day.
So here we code, with vim-like grace,
In VSCode's world, our happy place,
With extensions like this, we truly thrive,
In the programmer's dance, we jive.
Being in the first line, go to the visual mode with v. Now press 7j to extend selection till the 3rd line in the second stanza. The selection won't go beyond the blank line.
With the blockwise and linewise visual selection it works fine.
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
No source file or test is named. Reproduce the issue in the visual-mode handling for v followed by counted j, comparing behavior across the blank line with blockwise and linewise selection; done means characterwise selection extends to the expected third line of the second stanza without regressing the other visual modes.
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
- 45/100