Add cleanurl for qutebrowser yank

This commit is contained in:
Tobias Reisinger 2022-01-13 19:23:21 +01:00
parent cdd396ac53
commit 568700f9a2
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 53 additions and 0 deletions

View file

@ -27,3 +27,12 @@ def init(c):
c.bind('<Ctrl-Tab>', 'tab-next')
c.bind('<Ctrl-Shift-Tab>', 'tab-prev')
try:
import unalix
c.unbind('yy')
c.unbind('yY')
c.bind('yy', 'spawn --userscript qute-clear-url', mode='normal')
c.bind('yY', 'spawn --userscript qute-clear-url -s', mode='normal')
except:
pass