Add conkeror configuration

This commit is contained in:
Tom Willemsen 2011-12-28 15:43:09 +01:00
parent fc3cc20ad0
commit 7ae7d05907
6 changed files with 53 additions and 0 deletions

11
.conkerorrc/gtk2rc Normal file
View file

@ -0,0 +1,11 @@
include "/home/slash/.gtkrc-2.0"
style "noscrollbars" {
GtkScrollbar::slider-width=0
GtkScrollbar::trough-border=0
GtkScrollbar::has-backward-stepper=0
GtkScrollbar::has-forward-stepper=0
GtkScrollbar::has-secondary-backward-stepper=0
GtkScrollbar::has-secondary-forward-stepper=0
}
widget "MozillaGtkWidget.*" style "noscrollbars"

1
.conkerorrc/keys.js Normal file
View file

@ -0,0 +1 @@
define_key(default_base_keymap, "C-x f", "follow-new-buffer");

4
.conkerorrc/modeline.js Normal file
View file

@ -0,0 +1,4 @@
require("favicon");
add_hook("mode_line_hook", mode_line_adder(buffer_icon_widget, true));
add_hook("mode_line_hook", mode_line_adder(buffer_count_widget, true));

14
.conkerorrc/settings.js Normal file
View file

@ -0,0 +1,14 @@
cwd = make_file("/home/slash/downloads/");
url_remoting_fn = load_url_in_new_buffer;
read_buffer_show_icons = true;
hints_display_url_panel = true;
add_hook("before_quit_hook",
function () {
var w = get_recent_conkeror_window();
var result = (w == null) ||
"y" == (yield w.minibuffer.read_single_character_option(
$prompt = "Quit Conkeror? (y/n)",
$options = ["y", "n"]));
yield co_return(result);
});

2
.conkerorrc/theme.js Normal file
View file

@ -0,0 +1,2 @@
theme_load_paths.push("/home/slash/.conkeror/themes/");
theme_load("naquadah");

21
.conkerorrc/webjumps.js Normal file
View file

@ -0,0 +1,21 @@
define_webjump("archwiki",
"https://wiki.archlinux.org/index.php?search=%s",
$alternative="https://wiki.archlinux.org");
define_webjump("aur",
"https://aur.archlinux.org/packages.php?O=0&k=%s&do_Search=Go",
$alternative="https://aur.archlinux.org");
define_webjump("archpackages",
"https://www.archlinux.org/packages/?sort=&q=%s&limit=50",
$alternative="https://packages.archlinux.org");
define_webjump("emacswiki",
"http://www.google.com/cse?cx=004774160799092323420%3A6-ff2s0o6yi&q=%s",
$alternative="http://www.emacswiki.org");
define_webjump("php",
"http://www.php.net/manual-lookup.php?pattern=%s&scope=quickref",
$alternative="http://www.php.net");
define_webjump("python",
"http://docs.python.org/search.html?q=%s&check_keywords=yes&area=default",
$alternative="http://www.python.org");
define_webjump("ddg",
"https://duckduckgo.com/?q=%s",
$alternative="https://duckduckgo.com");