From a943b31f0498f0eb276aeeae9eb640ee696f90f5 Mon Sep 17 00:00:00 2001 From: finga Date: Fri, 19 Oct 2018 17:57:44 +0200 Subject: [PATCH] add search, edit searchengines --- .config/qutebrowser/config.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 0ca8a80..ce1fccf 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -1354,7 +1354,8 @@ c.tabs.width = '12%' ## used by prepending the search engine name to the search term, e.g. ## `:open google qutebrowser`. ## Type: Dict -c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', 'g': 'https://www.google.com.ar/search?q={}'} +c.url.searchengines = {'DEFAULT': 'https://www.google.com.ar/search?q={}', + 'd': 'https://duckduckgo.com/?q={}'} ## Page(s) to open at the start. ## Type: List of FuzzyUrl, or FuzzyUrl @@ -1461,9 +1462,11 @@ config.bind('', 'clear-keychain ;; search ;; fullscreen --leave') config.bind('', 'fullscreen') config.bind('', 'reload') config.bind('r', 'reload') -config.bind('', 'follow-selected ;; fake-key ') +# config.bind('', 'follow-selected ;; fake-key ') +config.bind('', 'follow-selected') config.bind('', 'back') config.bind('b', 'back') +config.bind('u', 'back') config.bind('l', 'back') config.bind('', 'forward') config.bind('F', 'forward') @@ -1508,6 +1511,7 @@ config.bind('b', 'set-cmd-text -s :tab-focus') # config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}') config.bind('', 'set-cmd-text -s :open -t') config.bind('', 'set-cmd-text -s :open -t {url:pretty}') +config.bind('', 'set-cmd-text -s :search') # config.bind('gU', 'navigate up -t') # config.bind('g^', 'tab-focus 1') # config.bind('ga', 'open -t')