qutebrowser / qutebrowser-extensions

Extension ideas (and at some point code) for qutebrowser
31 stars 1 forks source link

DuckDuckGo bangs as searchengines #2

Open jgkamat opened 6 years ago

jgkamat commented 6 years ago

qutebrowser's search-engine functionality is nice, but it would be even nicer if we could parse '!searchengine' as a query to a qutebrowser searchengine. This way, people can keep their bang workflow while either avoiding requests to ddg or overriding their choice of bang wording (for example, I really want !yum git to search fedora or centos, rather than yummly).

It would be nice to 'tag' searchengines so some of them could be only prefix-based (like the default) and some could be only 'bang' based.

johnnygroovy commented 5 years ago

I second that.

That would be great, especially now that duckduckgo are removing some bangs

As a substitute, I have this in my config file : c.url.searchengines['!w'] = 'https://en.wikipedia.org/wiki/{}'

And this to speed things up config.bind('!', 'set-cmd-text :open -t -r !')

Of course, the limitation is that you have to put the bang command before the search.