From 938e4d659e25f737838bca66ca4aea159bcd8c49 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Tue, 6 Dec 2022 12:48:57 +0530 Subject: [PATCH] qutebrowser: Add quickmark & search engine helper for Wikepedia --- qutebrowser/.config/qutebrowser/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 2205ab3..4d6c592 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -142,6 +142,7 @@ c.url.searchengines = { "r": "https://www.reddit.com/r/{}/", "rt": "https://www.rottentomatoes.com/search/?search={}", "y": "https://www.youtube.com/results?search_query={}", + "w": "https://en.wikipedia.org/w/index.php?title=Special:Search&search={}", "wayback": "https://web.archive.org/web/*/{}", } @@ -328,7 +329,8 @@ nmap("'M", ":open --tab https://www.metal-archives.com/") nmap("'s", ":open --tab https://myanimelist.net/anime/season") nmap("'S", ":open --tab https://myanimelist.net/clubs.php?cid=27907") nmap("'t", ":open --tab https://samples.mplayerhq.hu/A-codecs/") -nmap("'w", ":open --tab https://web.archive.org/web/*/{url}") +nmap("'w", ":open --tab https://en.wikipedia.org/wiki/Main_Page") +nmap("'W", ":open --tab https://web.archive.org/web/*/{url}") nmap("'y", ":open --tab https://youtube.com/") # add back mark jumping