philc / philc/vimium

After using selected text search with 'P' (new tab), the origin tab page doesn't accept Vimium keystroke

Open
#4,220 2 comments 3 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

Describe the bug
When you select any texts in Visual mode and press the "P" key, you get the search results on a new tab.
Then when you return to the origin tab, you cannot manipulate the page with Vimium keystroke.

To Reproduce
Steps to reproduce the behavior:

  1. Change to Visual mode
  2. Select any texts
  3. Press the "P" (open a new tab)
  4. Return to the origin tab (Press the "J")

Browser and Vimium version
Chrome: 109.0.5414.120
Vimium: 1.67.4

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

Start by reproducing the listed Visual mode steps in Chrome: select text, press P, open the new tab, then return with J. Trace the handling of the P action, the new-tab transition, and the origin tab's keystroke handling; done means Vimium keystrokes work again in the origin tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.