`ge` and `gE` don't work properly with text fragments
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 at a URL that has a text fragment and pressing ge or gE, the text fragment part of the URL is not shown in the vomnibar.
Interestingly, yy works fine.
Also, while at the URL mentioned below, pressing gu doesn't seem to do anything, while gU correctly sends you to https://example.com/. I'm not sure whether I want gu to do the same as gU, here, but it certainly felt a little weird for the text fragment to stay.
To Reproduce
- Go to https://example.com/#:~:text=for
- Press
georgE
Browser and Vimium version
Firefox 131.0.3-1
macOS Sequoia 15.0.1
Vimium 2.1.2
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 the implementations of the ge, gE, gu, gU, and yy commands and how they read or modify the current URL. Reproduce the behavior at https://example.com/#:~:text=for, then verify that text fragments are handled consistently and the relevant command behavior is covered by tests.
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
- Mostly clear
- Newbie friendliness
- 35/100