Custom shortcuts seem to be sent to the website as well
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 I use a custom shortcut for changing tabs it seem that my shortcut is sent to the website as well.
To Reproduce
Steps to reproduce the behavior:
- Put this into your custom shortcut config:
unmap <a-h>
unmap <a-l>
map <a-l> nextTab
map <a-h> previousTab
- Goto some wikipedia page
- Press alt+h
- Go back to the tab with the wiki site and inspect changes
The shorcut a-h on the wiki page led you to the history of the wiki site.
Browser and Vimium version
Chrome Version 131.0.6778.85 (Official Build) (64-bit)
Latest Arch linux
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
Reproduce the issue in Chrome using the custom shortcut configuration and the linked Wikipedia page, then trace the keyboard shortcut handling entry point. Confirm the fix by verifying that mapped tab shortcuts still change tabs without also triggering the corresponding website action.
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
- 45/100