qutebrowser: Add search engines, download open map
Switched default search engine for my personal searx engine. Added search engine bangs for duckduckgo (ddg), man-pages (man), alternativeto.net (alt). Added key mapping to quickly open last downloaded file, especially useful for downloaded pdf documents or similar files. <leader>o will open the last file.
This commit is contained in:
parent
377ab6ea56
commit
268f8543a2
2 changed files with 11 additions and 2 deletions
|
@ -44,7 +44,9 @@ js_whitelist = [
|
|||
"*://old.reddit.com/*",
|
||||
"*://todoist.com/*",
|
||||
"*://toggl.com/*",
|
||||
"*://clockify.me/tracker*",
|
||||
"*://translate.google.com/*",
|
||||
"*://calendar.google.com/*",
|
||||
"chrome://*/*",
|
||||
"file://*",
|
||||
"qute://*/*",
|
||||
|
@ -66,7 +68,7 @@ c.tabs.position = "right"
|
|||
c.tabs.width = "15%"
|
||||
|
||||
# give the browser nice theme colors
|
||||
config.source("colorscheme.py")
|
||||
config.source('colorscheme.py')
|
||||
|
||||
# Status bar
|
||||
# should be visible to prevent 'jumping' bug,
|
||||
|
@ -129,6 +131,9 @@ c.aliases["printpdf"] = "spawn --userscript pagetopdf.sh"
|
|||
# set to gp, to mirror gd (download) just as go-Pdfdownload
|
||||
config.bind("gp", "printpdf", mode="normal")
|
||||
|
||||
# open last download
|
||||
config.bind(leader + "o", "download-open")
|
||||
|
||||
# set stylesheets for the browser to use
|
||||
# leader - ss to remove all applied stylesheets
|
||||
config.bind(
|
||||
|
@ -143,7 +148,8 @@ config.bind(leader + "js", "config-cycle content.javascript.enabled true false")
|
|||
config.bind(leader + "VV", "config-source")
|
||||
|
||||
c.url.searchengines = {
|
||||
"DEFAULT": "https://duckduckgo.com/?q={}",
|
||||
"DEFAULT": "https://search.martyoeh.me/?q={}",
|
||||
"ddg": "https://duckduckgo.com/?q={}",
|
||||
"d": "https://www.dict.cc/?s={}",
|
||||
"t": "https://www.thesaurus.com/browse/{}",
|
||||
"gt": "https://translate.google.com/#auto/de/{}",
|
||||
|
@ -157,4 +163,6 @@ c.url.searchengines = {
|
|||
"yt": "https://www.youtube.com/results?search_query={}",
|
||||
"maps": "https://www.google.fr/maps?q={}",
|
||||
"gol": "https://golang.org/pkg/{}/",
|
||||
"man": "https://manned.org/browse/search?q={}",
|
||||
"alt": "https://alternativeto.net/software/{}",
|
||||
}
|
||||
|
|
|
@ -8,3 +8,4 @@ read https://read.martyoeh.me/
|
|||
arch https://wiki.archlinux.org/
|
||||
toggl https://toggl.com/app/timer
|
||||
clock http://clockify.me/tracker
|
||||
cal https://calendar.google.com/calendar/r
|
||||
|
|
Loading…
Reference in a new issue