Feature request: global keyboard shortcut for link clicking
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
I propose to use the chrome.commands API to add a couple global keyboard shortcuts for link clicking (like f and alt-f). This way this feature will be available even when vimium is disabled on a page.
There are decent chances I would implement this if I have reason to believe it will be merged.
My usecase is that there are many sites that implement nice native keyboard shortcuts, and so I disable vimium. I still want to have a quick way of interacting with input widgets, though. I want a keysequence that is under my fingers that I can rely on.
This idea could potentially be extended to many vimium actions, but personally f and alt-f are the only ones that matter to me.
Related issues:
-
See also #3161 which proposes using global keyboard shortcuts for enabling / disabling vimium.
-
A decent alternative would be to support a keybinding whitelist as in #3190. I have switched to Vimium-C on my personal computers because it supports this feature, so I can whitelist
fon sites that have a nice selection of native shortcuts. On my work machine I can not easily switch to Vimium-C, and instead need to use Vimium.
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 reviewing the Chrome chrome.commands API and the related discussions in #3161 and #3190. Define how global f and alt-f should trigger link clicking while Vimium is disabled, then verify the behavior across the relevant browser contexts; the issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100