Unexpected behavior with `vito`
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
Unexpected behavior with vito
To Reproduce
Cursor location marked with [ ]
Selection marked with
Newline marked with ↵
<div>↵
<span>text</span>↵
</di[v]>↵
Press vit
Note this selection isn't right either, see #6555
<div
>↵
<span>text\</span>↵
[]</div>↵
Press o
<div>↵
[]<span>text</span>↵
</di[v]>↵
Expected behavior
<div>↵
<span>text</span>↵
</di[v]>↵
Press vit
<div>
↵
<span>text\</span>[↵]
</div>↵
Press o
<div>
[↵]
<span>text\</span>↵
</di[v]>↵
Environment
- Extension (VsCodeVim) version: 1.21.5
- VSCode version: 1.54.3
- OS: MacOS and Ubuntu
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 vit then o sequence in VSCodeVim 1.21.5 on the HTML-like example, using the stated VS Code and operating-system environments as relevant. Compare the actual cursor and selection positions with the expected behavior; done means the selection and cursor match the expected examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100