Strange behavioral quirk of vimium keybind.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
I had keybinds configured in vimium so that I can use shift+up and shift+down to scroll up and down a page. This didn't work properly because the default behavior of shift+up/down in firefox was to select text, which interfered with the vimium keybinds (it would select text instead of scrolling). So I installed the "shortkeys" extension to disable the native behavior of shift+up/down and everything worked as intended. But then I shortly uninstalled shortkeys out of curiosity's sake, and the original problem was still fixed, i.e., the selecting text behavior wasn't overriding the behavior I had set in vimium. I disabled vimium to test, and the default text selection behavior of firefox returned. So it looks like now vimium overrides the default behavior (which is what I wanted in the first place anyway). It seems like a very hacky solution that emerged out of curiosity, but I'm curious why this worked. Due to my lack of knowledge in the domain of browsers/web development, I am deciding to write a post here to see if anyone could share some light as to what may have happened.
Thanks if you read this.
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 reported sequence in Firefox with Vimium and the Shortkeys extension: configure Shift+Up/Down, disable the native behavior, uninstall Shortkeys, and compare the result with Vimium disabled. The issue names no file, test, or entry point, and provides no concrete change or completion condition beyond explaining the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100