legacy-dotfiles/.conkerorrc/settings.js

19 lines
670 B
JavaScript

// -*- eval: (git-auto-commit-mode 1) -*-
cwd = make_file("/home/slash/downloads/");
url_remoting_fn = load_url_in_new_buffer;
read_buffer_show_icons = true;
hint_digits = "asdfghjkl";
hints_minibuffer_annotation_mode(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);
});
remove_hook("download_added_hook", open_download_buffer_automatically);