Skip to content

Instantly share code, notes, and snippets.

@mbrezu
Created September 3, 2010 07:58
Show Gist options
  • Save mbrezu/563573 to your computer and use it in GitHub Desktop.
Save mbrezu/563573 to your computer and use it in GitHub Desktop.
Conkeror configuration
//require("new-tabs.js");
add_delicious_webjumps("mbrezu");
require("page-modes/google-search-results.js");
xkcd_add_title = true;
google_search_bind_number_shortcuts();
homepage = "about:blank";
define_webjump("imdb", "http://imdb.com/find?q=%s");
define_webjump("stackoverflow", "http://stackoverflow.com/search?q=%s");
define_webjump("youtube", "http://www.youtube.com/results?search_query=%s&search=Search");
define_webjump("youtube-user", "http://youtube.com/profile_videos?user=%s");
define_webjump("duckduckgo", "http://duckduckgo.com/?q=%s");
define_webjump("github", "http://github.com/search?q=%s&type=Everything");
define_webjump("weather", "http://www.wunderground.com/cgi-bin/findweather/getForecast?query=%s");
define_webjump("dexonline", "http://dexonline.ro/definitie/%s");
define_webjump("hoogle", "http://www.haskell.org/hoogle/?hoogle=%s");
define_key(content_buffer_normal_keymap, "f7", "caret-mode");
require("zoom.js");
zoom_levels = [ 1, 10, 25, 50, 75, 90, 100, 110,
120, 125, 130, 140, 150, 200, 300, 500, 1000, 2000 ];
function my_zoom_set (buffer) {
call_after_timeout(function () {
browser_zoom_set(buffer, false, 100);
}, 0);
}
add_hook('create_buffer_hook', my_zoom_set);
cwd = get_home_directory();
cwd.append("Downloads");
url_remoting_fn = load_url_in_new_buffer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment