`v` in the end of line should not select the second line.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
When in the first line of 2 or more empty lines, typing v will select the start of the second line, which is not a correct behavior. It will make some motion behave incorrectly such as is.
The key sequence is v is


Here is what vim does


I am not sure which causes this, maybe the implementation of is has problem.
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 v is sequence with the cursor at the end of the first line followed by two or more empty lines, then compare the selection with Vim's behavior shown in the issue. Trace the visual-mode selection and is motion handling to identify the relevant entry point; done means the second line is no longer selected and the motion behaves like Vim.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100