I installed Vimium for my Chrome browser to use but I noticed that Chrome shortcut keys take higher priority.
For instance, if I try <C-u>
, instead of scrolling a page up, I see the source code of the page.
How can I configure Chrome or Vimium to use Vimium shortcuts rather than built-in Chrome shortcuts?
You currently cannot map any default Chrome shortcut keys defined already. That is unfortunately one limitation of Google Chrome Extensions API. The Extension team is familiar with such restrictions, and they have it on their queue for future APIs.
In the meantime, try to pick a shortcut that doesn't conflict.
Hope that kinda helped.
Actually David's answer should work somehow. Some may misunderstood, these commands are added in Vimium's Options Settings.
By the way, if you want to add and as scrolling full page up and down, just add the following in the "Custom Key Mapping":
unmap <c-f>
map <c-f> scrollFullPageDown
unmap <c-b>
map <c-b> scrollFullPageUp
This works for me. Enjoy!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With