Map to existing Chrome shortcuts
See original GitHub issueNot sure what I’m doing wrong but I just can’t get any custom key mappings in cVim to override existing built-in mappings in Chrome. For example
map <C-f> scrollPageDown
map <C-b> scrollPageUp
map <C-o> goBack
map <C-i> goForward
Doesn’t get me the expected vim (and vimperator) bindings for scrolling one page up or down or moving around in history. CTRL-f brings up the Chrome Find popup, CTRL-o the Chrome Open window. CTRL-b doesn’t result in anything at all.
Other mappings for non-CTRL bindings works like a charm. What am I missing?
Chrome version 51.0.2704.106 (Official Build) (64-bit) on Linux.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:17 (4 by maintainers)
Top Results From Across the Web
Chrome keyboard shortcuts - Computer - Google Chrome Help
Mac ; Open the History page in a new tab, ⌘ + y ; Open the Downloads page in a new tab, ⌘...
Read more >Map keyboard shortcuts in Google chrome - Super User
Is it possible to remap certain keyboard shortcuts (most notably: 'ctrl-f' to '/' in order to invoke the search) in chrome? If so,...
Read more >Remapping keyboard shortcuts in Chrome and Firefox
Go to Settings->Keyboard->Shortcuts, and then from the list on the left select "App Shortcuts". Click "+" to add a new app shortcut and...
Read more >Keyboard shortcuts - Chrome Developers
# Global keyboard shortcuts ; Toggle the Drawer, Escape, Escape ; Normal reload, Command + R · F5 or Control + R ;...
Read more >Love Chrome shortcuts? Wait 'til you see this - Computerworld
Now, it's worth noting that lots of the commands involved are actually linked to existing Chrome shortcuts — ones you could pull up...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Found it: https://bugs.chromium.org/p/chromium/issues/detail?id=633838
This is definitely my issue. If true for @phlundblom, we can close.
By the way, @phlundblom, I ended up mapping things to the key that would be qwerty:
instead of
e
,y
,d
,u
,f
, andb
, respectively. It works well until they fix it in chromium.