vimium
vimium copied to clipboard
How to use this plugin on Github where keyboard events are stealed.
I used to Search with / and pressing N to find the next occurence in code view of github. But now github hijacks and does all sorts of evil things to prevent me from using this Vimium features. pLease Help don't let github win.
For github you can turn off keyboard shortcuts on https://github.com/settings/accessibility However, there are many other sites that also steal one-letter keyboard events (GMail for example) so a way to force Vimium keybindings to always take precedence would be nice.
(note: tested only in Firefox)
The GitHub search bar doesn't work with gi
and afaik there's no way to focus on it if the keyboard shortcuts are off as suggested above - so that isn't a valid option for me 😕
I'm happy enough to have vimium and github shortcuts co-existing (by adding specific key exceptions or using a passthrough key), but one bug that I found while doing so is that the ESC
key doesn't work in GitHub for collapsing the search bar - forcing me to use the mouse if the search bar is focused.
if I focus on the GitHub search bar while using Vimium, I'm forced to use the mouse to collapse the search bar
EDIT: a solution to use the keyboard to collapse the GitHub search bar is to map something to passNextKey
- a bit more keystrokes but works fine (an idea I got from the discussion here)