Add DDG hint results bind and fix Google hint bind

This commit is contained in:
Oliver Blanthorn 2019-09-16 16:08:47 +01:00
parent 019a364d66
commit 32fb44e459
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -54,9 +54,12 @@ bindurl wikiwand.com yy composite js document.location.href.replace("wikiwand.co
" Make gu take you back to subreddit from comments
bindurl reddit.com gu urlparent 4
" Only hint search results on Google
" Only hint search results on Google and DDG
bindurl www.google.com f hint -Jc .rc > .r > a
bindurl www.google.com F hint -Jtc .rc>.r>a
bindurl www.google.com F hint -Jbc .rc>.r>a
bindurl ^https://duckduckgo.com f hint -Jc [class=result__a]
bindurl ^https://duckduckgo.com F hint -Jbc [class=result__a]
" Allow Ctrl-a to select all in the commandline
unbind --mode=ex <C-a>