cannot jump to previous match in visual line mode
Open
Nobody has claimed this yet.
area/clipboard
help wanted
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
BUG REPORT
I search for some text with / or * and enter visual line mode with shift+v and then press shift+n to search backwards for the previous occurrence of the text.
I expect to jump to the previous occurrence of the search text and stay in visual line mode.
It works fine for forward search but not for reverse search.
- Extension Name: vim
- Extension Version: 0.10.13
- OS Version: Windows_NT x64 10.0.16299
- VSCode version: 1.19.0
{
"activationTimes": {
"startup": true,
"codeLoadingTime": 196,
"activateCallTime": 1,
"activateResolvedTime": 154,
"activationEvent": "*"
}
}
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 this in the VSCode Vim extension using / or *, then Shift+V and Shift+N on Windows. Trace the search and visual-line mode handling; done means reverse search moves to the previous match while preserving visual line mode, matching forward search behavior.
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