Skip to content

Override <space> key for a particular site #1059

Discussion options

You must be logged in to vote

Might have finally figured it out. Is that the best way to do it?

env yt host="https://www.youtube.com/watch"
map <space> runKey expect="yt:<v-spc>" keys="<v-space>"
map <v-space> scrollFullPageDown
map <v-spc> LinkHints.click match="<CSS selector>"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gdh1995
Comment options

Answer selected by gdh1995
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants