Return to the previous position when next text find match
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
When press cmd+d in vim regime should execute 3 commands displayed at the screen:
http://joxi.ru/brRGZE5HJ864nm
- Add selection to next find match
- Move last selection to next find match
- extension.vim_cmd+d - to do previous 2 actions together with vim regime
To Reproduce
Steps to reproduce the behavior:
Select in vim regime needed text match which is present further in the document (needed to be scrolled).
Press cmd+d to select current text match and jump the next one.
Selection executes of the next selection but instead to move to the next selection, cursor return to the previous selection position.
Expected behavior
Jump to next text match further in a text with its selection.
- Extension (VsCodeVim) version: 0.15.7
- VSCode version: 1.25.1
- OS: Mac High Sierra 10.13.6
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 cmd+d behavior in the VSCodeVim extension using the Vim regime and the versions listed in the report. The payload names no source files or tests, so first locate the command handling for adding and moving to the next find match. Done means the selection remains at and jumps to the next matching text instead of returning to the previous position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100