Add cdispass settings

This commit is contained in:
Tom Willemse 2013-05-31 18:07:44 +02:00
parent 17d6f9622b
commit 6fba1713f8

View file

@ -3,9 +3,11 @@ require("favicon");
require("session"); require("session");
load_paths.push("file:///usr/local/clark/share/conkeror/modules/"); load_paths.push("file:///usr/local/clark/share/conkeror/modules/");
load_paths.push("file:///home/slash/projects/cdispass/");
theme_load_paths.push("/home/slash/.conkerorrc/themes/"); theme_load_paths.push("/home/slash/.conkerorrc/themes/");
require("clark"); require("clark");
require("cdispass");
define_browser_object_class( define_browser_object_class(
"history-url", null, "history-url", null,
@ -161,6 +163,7 @@ define_key(content_buffer_normal_keymap, "H", "find-url-from-history");
define_key(content_buffer_normal_keymap, "h", "find-url-from-history-new-buffer"); define_key(content_buffer_normal_keymap, "h", "find-url-from-history-new-buffer");
define_key(default_base_keymap, "C-x f", "follow-new-buffer"); define_key(default_base_keymap, "C-x f", "follow-new-buffer");
define_key(content_buffer_normal_keymap, "b", clark_keymap); define_key(content_buffer_normal_keymap, "b", clark_keymap);
define_key(content_buffer_text_keymap, "C-c d", "dispass-and-submit");
add_hook("before_quit_hook", oni_before_quit_func); add_hook("before_quit_hook", oni_before_quit_func);
add_hook("content_policy_hook", content_policy_bytype); add_hook("content_policy_hook", content_policy_bytype);