Replies: 1 comment
-
There are indeed some issues in your example:
1. "mapKey" is used before "map", which means "runKey"'s expected value should only be the "key sequence" part of a "map" rule.
2. "mapKey" can not change how webpages treat pressed keys - it only affects Vimium C itself.
If you want to change a current time of a video, then you may use javascript code to do so, and the 2nd line will look like:
map <v-hyoutube> openUrl url="javascript:<your-code-here>"
As for detailed code, there have been a few issues related, you may search in this repo.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to remap h and l for left and right arrow for youtube but I get an error when I attempt to map the left and right key.
Here's the config:
with an error saying
Error: mapKey: a source key should be a single key with an optional mode id: mapKey <v-hyoutube> left.
I'm probably doing this wrong. But I thought it might also be possible that it's a limitation of trying to use the arrow keys.
Beta Was this translation helpful? Give feedback.
All reactions