[Feature Request] Make Cycling Through Search Results More Vim Flavoured
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, search always starts at the top of the page and cycling through the search results leads downwards to the end of the page. In vim however, pressing n always shows the next search result under the cursor.
I don't know how the exact equivalent of this behaviour would look like in vimium, since there is no cursor here, but I'd love it if e.g. pressing ggn would show the first search result on the page. Currently, if you have already cycled some way downwards, n always invokes the result following the last one, no matter whether the viewpoint has changed.
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 tracing how search results are selected and scrolled when cycling with n. Compare the current behavior with the requested viewport-relative behavior, including the ggn example. Done means the navigation behavior is specified and implemented consistently for results above and below the current viewpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100