Open jgkamat opened 5 years ago
A paste decorator is not needed, you can use the redirection api:
The yank function is pretty trivial, so I ended up just re-implementing it to get the functionality I wanted. I think that some sort of decorator api would still be pretty nice though.
It would be very nice to have an api to provide advice to various functions, for example, for yank.
Eg:
https://github.com/qutebrowser/qutebrowser
->git@github.com:qutebrowser/qutebrowser.git
https://github.com/qutebrowser/qutebrowser-extensions/issues/18
->#18
(orqutebrowser/qutebrowser-extensions#18
)https://github.com/qutebrowser/qutebrowser
->github.com/qutebrowser/qutebrowser
http://no-www.org/
->http://www.no-www.org/
https://badssl.com/
->http://badssl.com/
https://github.com/qutebrowser/qutebrowser
->https://com.github/qutebrowser/qutebrowser
This would also be useful for paste and/or opened links:
https://www.reddit.com/
->https://www.old.reddit.com/
https://www.facebook.com/
->https://mbasic.facebook.com/
https://twitter.com/
->https://mobile.twitter.com/
https://github.com/qutebrowser/qutebrowser
->https://gitlab.com/qutebrowser/qutebrowser