rewind and forward using h and l in youtube
What command or commands
map l scrollRight
How should a feature do
I want to scroll forward using l in youtube and other bigger video sites
When a user has done such steps:
1 insert map l scrollRight
2 goto youtube.com
3 press l
then Vimium C should do:
forward the video
Browser and OS
- Browser name: chrome
- OS name: win11
Version 131.0.6778.86 (Official Build) (64-bit)
You may need refer to Map a key to different commands on different websites · gdh1995/vimium-c Wiki
Here is an implementation of your request
env youtubeVideo host="https://youtube.com/watch" # define youtube env
# map l,h to right-arrow and left-arrow (most sites use these two keys to adjust video progress)
map l runKey expect={"youtubeVideo": "<right>"} keys="<v-l>"
map h runKey expect={"youtubeVideo": "<left>"} keys="<v-h>"
# <v-l> and <v-h> help l,h work like defaulted in other sites
map <v-l> scrollLeft
map <v-h> scrollRight
You can simply click on the browser extension symbol in your browser and then enter l behind the website click Save changes and are done. The real issue here is that the correct usage of exceptions and rules is not self-explanatory as a) the way the GUI looks makes it seem there is already a rule in place and b) the separation between Add rule and Save changes makes little sense in my eyes.
Perhaps standard mappings for major sites should be provided out of the box?
You can use Video Speed Controller, if you don't mind adding another plugin. This plugin is more versatile.