add search, edit searchengines

This commit is contained in:
finga 2018-10-19 17:57:44 +02:00
parent 3912b2310b
commit a943b31f04

View file

@ -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('<Escape>', 'clear-keychain ;; search ;; fullscreen --leave')
config.bind('<F11>', 'fullscreen')
config.bind('<F5>', 'reload')
config.bind('r', 'reload')
config.bind('<Return>', 'follow-selected ;; fake-key <Return>')
# config.bind('<Return>', 'follow-selected ;; fake-key <Return>')
config.bind('<Return>', 'follow-selected')
config.bind('<Back>', 'back')
config.bind('b', 'back')
config.bind('u', 'back')
config.bind('l', 'back')
config.bind('<Forward>', 'forward')
config.bind('F', 'forward')
@ -1508,6 +1511,7 @@ config.bind('<Ctrl-x>b', 'set-cmd-text -s :tab-focus')
# config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
config.bind('<Ctrl-x><Ctrl-f>', 'set-cmd-text -s :open -t')
config.bind('<Ctrl-x><Ctrl-w>', 'set-cmd-text -s :open -t {url:pretty}')
config.bind('<Ctrl-s>', 'set-cmd-text -s :search')
# config.bind('gU', 'navigate up -t')
# config.bind('g^', 'tab-focus 1')
# config.bind('ga', 'open -t')