VSCodeVim / VSCodeVim/Vim

cannot jump to previous match in visual line mode

Open
#2,357 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.