aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-03-24 13:04:28 +0100
committerGravatar Tom Willemsen2013-03-24 13:04:55 +0100
commit58b2139a978ae4b3b4e2da0644a564bd8273d574 (patch)
tree3a5d1d6d296a945d50982b5164f57f5789516f79
parentea6b06beec7f3ddcc70b9e3c6d233e90a61dca17 (diff)
downloadclark-conkeror-58b2139a978ae4b3b4e2da0644a564bd8273d574.tar.gz
clark-conkeror-58b2139a978ae4b3b4e2da0644a564bd8273d574.zip
Add keymap for conkeror
One could bind this keymap in their `.conkerorrc' to easily access all the functions provided by CLark's conkeror module. For example: define_key(content_buffer_normal_keymap, "b", clark_keymap);
-rw-r--r--clark.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/clark.js b/clark.js
index 7bc30f5..ade3683 100644
--- a/clark.js
+++ b/clark.js
@@ -133,5 +133,7 @@ interactive("clark-find-url-new-buffer",
"find-url-new-buffer",
$browser_object = browser_object_clark_bookmark);
+define_keymap("clark_keymap");
+define_key(clark_keymap, "a", "clark-add");
provide("clark");