Mapping <c-h> to previousTab doesn't work when an input is focused.
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
Mapping to previousTab only works as long as there is no input focused. If there is an input focused, it will default to the browser's shortcut, which is to open the history tab.
To Reproduce
Map to previousTab, focus an input, press ctrl+h.
Browser and Vimium version
Brave Browser 84.1.11.97
Vimium 1.66
Ubuntu 20.04
I know this is the expected behavior, but it would be great to have an option to always prioritize Vimium's shortcuts over Chrome's. On Ubuntu, there is no way to remap the built-in shortcut on Brave, because the shortcut-remapping extensions available only work for windows, so, if Vimium offered that option, it would allow remapping to previousTab on Brave itself.
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 reproducing the reported mapping with an input focused in Brave on Ubuntu, then investigate how Vimium handles shortcuts in focused inputs and how browser-reserved shortcuts are exposed. Done means the issue's requested prioritization option is clearly supported or its browser limitation is documented, with the ctrl+h and previousTab scenarios verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100