How to map vimium keyboard shortcuts with default chrome keyboard shortcuts?

I installed Vimium for my Chrome browser, but noticed that Chrome keyboard shortcuts have a higher priority. For example, if I try <C-u>, instead of scrolling the page up, I see the source code of the page.

How do I configure Chrome or Vimium to use Vimium shortcuts rather than Chrome built-in shortcuts? Thanks in advance.

+3
source share
3 answers

Currently, you cannot match already defined Chrome keyboard shortcuts by default. This, unfortunately, is one of the limitations of the Google Chrome Extensions API. The Extension team is familiar with such limitations, and they have their turn for future APIs.

In the meantime, try selecting a shortcut that does not conflict.

Hope this helped.

+4
source

First undo the previous shortcut,

unmap <C-u>
map <C-u> scrollPageDown
0
source

- . , Vimium Options Settings.

, , "Custom Key Mapping" :

unmap <c-f>
map <c-f> scrollFullPageDown
unmap <c-b>
map <c-b> scrollFullPageUp

. !

0

Source: https://habr.com/ru/post/1782086/