qutebrowser: Remove gemini shortcut from main link

Main linking buttons (f/F) *can* be used for this but the resulting
userscript has to account for many more different scenarios than
opening a page.

If it does not, we can not 'click' on text entry fields, dropdowns,
sliders etc with the f-buttons anymore.

This commit switches the qute-gemini script to be invoked via ,g or ,G
thus with the local leader mapping instead.
This commit is contained in:
Marty Oehme 2023-08-25 16:24:25 +02:00
parent ae58c1c4ef
commit 4994e9782d
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -6,9 +6,6 @@ lleader = ","
## CHANGED DEFAULTS
# the full power of qutebrowser at your fingertips for any gemini page!
config.bind("f", "hint links userscript qute-gemini")
config.bind("F", "hint links userscript qute-gemini-tab")
# rebind moving tabs to free for download
config.bind("gG", "tab-give")
@ -57,6 +54,11 @@ config.bind(lleader + "I", "spawn uoeia -v imv {url}")
config.bind(lleader + "i", "hint links spawn uoeia -v imv {hint-url}")
config.bind(lleader + "<Ctrl-i>", "hint images spawn uoeia -v imv {hint-url}")
# [G]emini shortcuts
# the full power of qutebrowser at your fingertips for any gemini page!
config.bind(f"{lleader}g", "hint all userscript qute-gemini")
config.bind(f"{lleader}G", "hint all userscript qute-gemini-tab")
# bind youtube-dl to download the current page/links
config.bind(lleader + "dM", "spawn vidl {url}")
config.bind(
@ -78,7 +80,7 @@ config.bind(';s', "hint links userscript shaarli_add.sh")
config.bind('"a', "send-to-archive", mode="normal")
config.bind('"t', "translate-page-google", mode="normal")
config.bind('"T', "translate-selection-google", mode="normal")
config.bind('"t', "translate-selection-google", mode="caret")
config.bind('"q', "show-qr")