switch to ddg

Fri, 30 Dec 2016 12:54:48 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 30 Dec 2016 12:54:48 -0500
changeset 463
b864784951d9
parent 462
a1901234cc42
child 464
452034aff788

switch to ddg

.vimperatorrc file | annotate | diff | comparison | revisions
--- a/.vimperatorrc
+++ b/.vimperatorrc
@@ -1,13 +1,18 @@
-"3.10.1 (created: 2015/08/25 00:41:59)
-
 set complete=sl
 
-source! ~/_vimperatorrc.local
-
 style browser .tab-close-button{ display: none; }
 
 nmap q <Nop>
-nmap s tgoogle 
-nmap S :winopen -private google 
+nmap s tddg 
+nmap S :winopen -private ddg 
+
+javascript <<EOJ
+  (function() {
+    var ddg = Services.search.getEngineByName('DuckDuckGo');
+    if (ddg) ddg.alias = 'ddg';
+  })();
+EOJ
+
+source! ~/.vimperatorrc.local
 
 " vim: set ft=vimperator:

mercurial