How to copy user/repo out of a GitHub URL? #1071
-
For instance, if I'm on https://github.com/gdh1995/vimium-c/discussions, I want to extract just |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Like this: #349 (comment) Add such a custom key mapping:
And add such a text substitution rule:
|
Beta Was this translation helpful? Give feedback.
-
Do you mean a key should do nothing on other websites? |
Beta Was this translation helpful? Give feedback.
-
You may use
And add such a text substitution rule:
Then Please note that If you assign a single key to this mapping, then you may use See https://github.com/gdh1995/vimium-c/wiki/Map-a-key-to-different-commands-on-different-websites |
Beta Was this translation helpful? Give feedback.
You may use
env
in key mappings:And add such a text substitution rule:
Then
ya
will do nothing on other sites.Please note that
ya
will always be hooked by Vimium C, and there's no way to exclude a multi-key key binding on some websites.If you assign a single key to this mapping, then you may use
Exclusion rules
to make most websites ignore a key, likeSee https://github.com/gdh1995/vimium-c/wiki/Map-a-key-to-different-commands-on-different-websites