philc / philc/vimium

Ideas for searching within the visible page?

Open
#3,179 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
27k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Whenever I successfully yank a bunch of text without touching my mouse, I get a warm feeling inside, but unfortunately I'm new with vim and the only way I know of doing it is not great.

What's the best way of going from nothing to yanking a specific phrase from the page? The only thing I became sort of proficient with is slash search -> visual selection -> yank.

I'm staring directly at some text on the page, start searching for it with /somete but then the screen runs away to some other match at the top and I lose focus. I think if there was a way of using slash searches on the visible viewport only, I'd use that as my default.

Does anyone have better workflows?

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

The issue names no file, test, or entry point and asks for workflow advice around slash search, visual selection, and yank. Reproduce the described search behavior in Vimium, then define a concrete viewport-scoped-search behavior and a testable expected result before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, vim
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.