aboutsummaryrefslogtreecommitdiffstats
path: root/conkeror
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-10-29 12:26:38 +0200
committerGravatar Tom Willemse2016-10-29 12:26:38 +0200
commita6c9acf85edef1e6024eb0f52d4e101036a1cbad (patch)
treec66ec2b0013976bb9816d2d6f8868175ba5ccfc4 /conkeror
parent10c653db7d5c2a242423178bb550d48e3e300b5a (diff)
downloadnew-dotfiles-a6c9acf85edef1e6024eb0f52d4e101036a1cbad.tar.gz
new-dotfiles-a6c9acf85edef1e6024eb0f52d4e101036a1cbad.zip
Move webjumps to separate file
Diffstat (limited to 'conkeror')
-rw-r--r--conkeror/.conkerorrc/.gitignore3
-rw-r--r--conkeror/.conkerorrc/GNUmakefile2
-rw-r--r--conkeror/.conkerorrc/init.org24
-rw-r--r--conkeror/.conkerorrc/webjumps.org30
4 files changed, 32 insertions, 27 deletions
diff --git a/conkeror/.conkerorrc/.gitignore b/conkeror/.conkerorrc/.gitignore
index ee15bbb..a6c7c28 100644
--- a/conkeror/.conkerorrc/.gitignore
+++ b/conkeror/.conkerorrc/.gitignore
@@ -1,2 +1 @@
-init.js
-private.js
+*.js
diff --git a/conkeror/.conkerorrc/GNUmakefile b/conkeror/.conkerorrc/GNUmakefile
index 82e5b9b..6a09cd6 100644
--- a/conkeror/.conkerorrc/GNUmakefile
+++ b/conkeror/.conkerorrc/GNUmakefile
@@ -1,6 +1,6 @@
include ../../dotfiles.mk
-all: init.js
+all: init.js webjumps.js
%.js: %.org
$(call tangle,js)
diff --git a/conkeror/.conkerorrc/init.org b/conkeror/.conkerorrc/init.org
index 012b02e..40fb299 100644
--- a/conkeror/.conkerorrc/init.org
+++ b/conkeror/.conkerorrc/init.org
@@ -52,30 +52,6 @@ Add the ~search-engines/~ directory to the opensearch load path.
add_to_opensearch_load_path('search-engines');
#+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.
#+BEGIN_SRC js
diff --git a/conkeror/.conkerorrc/webjumps.org b/conkeror/.conkerorrc/webjumps.org
new file mode 100644
index 0000000..afb5a57
--- /dev/null
+++ b/conkeror/.conkerorrc/webjumps.org
@@ -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