Move webjumps to separate file
This commit is contained in:
parent
10c653db7d
commit
a6c9acf85e
4 changed files with 32 additions and 27 deletions
3
conkeror/.conkerorrc/.gitignore
vendored
3
conkeror/.conkerorrc/.gitignore
vendored
|
@ -1,2 +1 @@
|
||||||
init.js
|
*.js
|
||||||
private.js
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
include ../../dotfiles.mk
|
include ../../dotfiles.mk
|
||||||
|
|
||||||
all: init.js
|
all: init.js webjumps.js
|
||||||
|
|
||||||
%.js: %.org
|
%.js: %.org
|
||||||
$(call tangle,js)
|
$(call tangle,js)
|
||||||
|
|
|
@ -52,30 +52,6 @@ Add the ~search-engines/~ directory to the opensearch load path.
|
||||||
add_to_opensearch_load_path('search-engines');
|
add_to_opensearch_load_path('search-engines');
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Add a Mozilla Developer Network webjump. This uses their OpenSearch
|
|
||||||
description.
|
|
||||||
|
|
||||||
#+BEGIN_SRC js
|
|
||||||
define_opensearch_webjump("mdn", "mozilla-developer-network.xml");
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
Add a Duck Duck Go webjump. This uses the OpenSearch
|
|
||||||
description. Conkeror has a =duckduck= webjump, but I prefer the
|
|
||||||
shorter ddg.
|
|
||||||
|
|
||||||
#+BEGIN_SRC js
|
|
||||||
define_opensearch_webjump("ddg", "duckduckgo.xml");
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
Add a [[https://wpackagist.org/][WordPress Packagist]] webjump.
|
|
||||||
|
|
||||||
#+BEGIN_SRC js
|
|
||||||
define_webjump("wpackagist",
|
|
||||||
"https://wpackagist.org/search?q=%s&type=any",
|
|
||||||
$alternative="https://wpackagist.org/",
|
|
||||||
$doc="Search WordPress packagist for plugins and themes.");
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
Add the ~site-js/~ directory to the load path.
|
Add the ~site-js/~ directory to the load path.
|
||||||
|
|
||||||
#+BEGIN_SRC js
|
#+BEGIN_SRC js
|
||||||
|
|
30
conkeror/.conkerorrc/webjumps.org
Normal file
30
conkeror/.conkerorrc/webjumps.org
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
#+TITLE: Conkeror Webjumps
|
||||||
|
|
||||||
|
* Opensearch webjumps
|
||||||
|
|
||||||
|
Add a Mozilla Developer Network webjump. This uses their OpenSearch
|
||||||
|
description.
|
||||||
|
|
||||||
|
#+BEGIN_SRC js
|
||||||
|
define_opensearch_webjump("mdn", "mozilla-developer-network.xml");
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
Add a Duck Duck Go webjump. This uses the OpenSearch
|
||||||
|
description. Conkeror has a =duckduckgo= webjump, but I prefer the
|
||||||
|
shorter ddg. I define a new open search webjump because if I alias
|
||||||
|
the webjump it'll still show up as =duckduckgo=.
|
||||||
|
|
||||||
|
#+BEGIN_SRC js
|
||||||
|
define_opensearch_webjump("ddg", "duckduckgo.xml");
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
* Regular webjumps
|
||||||
|
|
||||||
|
Add a [[https://wpackagist.org/][WordPress Packagist]] webjump.
|
||||||
|
|
||||||
|
#+BEGIN_SRC js
|
||||||
|
define_webjump("wpackagist",
|
||||||
|
"https://wpackagist.org/search?q=%s&type=any",
|
||||||
|
$alternative="https://wpackagist.org/",
|
||||||
|
$doc="Search WordPress packagist for plugins and themes.");
|
||||||
|
#+END_SRC
|
Loading…
Reference in a new issue