X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/7b75dc285814afad6558e8a726a14fd00f58ec50..87e29d0b7cdc040e5d1ab7e1a722b0e8ddacd860:/qutebrowser/config.py diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 8ba1b71..187bf0f 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -24,7 +24,7 @@ try: def intercept(info: interceptor.Request): url = info.request_url if url.host() == "twitter.com": - url.setHost("nitter.dark.fail") + url.setHost("nitter.eu") message.info("Redirecting to " + url.toString()) info.redirect(url) if url.host() == "xkcd.com": @@ -990,7 +990,7 @@ c.hints.scatter = False ## unreliable on this setting, and they may match the url you are ## navigating to, or the URL you are navigating from. ## Type: Bool -# c.input.insert_mode.leave_on_load = False +c.input.insert_mode.leave_on_load = True ## Switch to insert mode when clicking flash and other plugins. ## Type: Bool @@ -1562,6 +1562,8 @@ c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?t=chakra&q={}', 'ddg': 'https://duckduckgo.com/?t=chakra&q={}', 'slack': 'https://focalpointpositioning.slack.com/messages/{}', 'std': 'http://en.cppreference.com/mwiki/index.php?title=Special%3ASearch&search={}', + 'hoogle': 'https://hoogle.haskell.org/?hoogle={}', + 'h': 'https://hoogle.haskell.org/?hoogle={}', } ## Page(s) to open at the start. @@ -1797,6 +1799,7 @@ config.bind('tgh', 'spawn --userscript config-cycle-tld -p -t content.geolocatio config.bind('zl', 'spawn --userscript qute-pass') config.bind('zul', 'spawn --userscript qute-pass --username-only') config.bind('zpl', 'spawn --userscript qute-pass --password-only') +config.bind('zol', 'spawn --userscript qute-pass --otp-only') # config.bind('{{', 'navigate prev -t') # config.bind('}}', 'navigate next -t')