Quick Conkeror Prefs #
No more SwitchProxy extension for switching MouseHoles. Added to ~/.conkerorrc
:
// alter user preferences function set_pref(k, v) { if (!gPrefService) { message("EEP: no gPrefService"); return 0; } gPrefService.setIntPref(k, v); message(k + " set to " + v); } function get_pref(k) { if (!gPrefService) { message("EEP: no gPrefService"); return 0; } if (!gPrefService.prefHasUserValue(k)) return null; else return gPrefService.getIntPref(k); } // toggle proxy function toggle_http_proxy() { var proxytype = get_pref("network.proxy.type"); set_pref("network.proxy.type", proxytype == 1 ? 0 : 1); } add_command("toggle-http-proxy", toggle_http_proxy, []); define_key(ctrlx_kmap, make_key("p", 0), "toggle-http-proxy");
So: C-x p
. Seriously, go sift through this stuff from Bill Clementson [pt. 1 and pt. 2] and you’ll pick it up. The rest of my .conkerorrc is pretty standard, but the numbered link styling is essential, in that del.icio.us actually looks really good now.
rcorsaro
Great stuff for wmii user, can’t wait to let my mouse get rusty. The article has a bit about Sawfish. Can anyone compare the two? Is it worth trying out, or are they just trying to emulate what we already have in wmii?
oo
wish I could enter my name in the box on the left without command keys being picked up!
Also, I don’t see a command for pasting?
puth this in your resource if you’re feeling lucky: add_webjump(“l”, “http://www.google.com/search?q=%s&btnI=Lucky”);
why
Pasting is C-y. I’m thinking of writing something up on how to use cut-and-paste, since it’s not described in full anywhere. I think.
technomancy
rcorsaro: Sawfish is written in Lisp. It doesn’t have the “use any language you want as long as you can pipe” appeal of wmii and Plan 9, but if you know any Lisp, you probably don’t need any explanation of how cool/flexible the Sawfish approach can be. I don’t think it has a Markov chain algorithm for window switching, but it’s really just a matter of time.
(If you don’t know Lisp, you should learn it now rather than dicking around on blogs.)
technomancy
why: yeah, a lot of things that are just the same as they are in Emacs aren’t explained because the initial audience for Conkeror is Emacs users. I bet sabetts is actually kinda surprised it’s getting adoption outside of the Emacs world. I’m sure folks would appreciate a high-level peek at how this stuff works.
rcorsaro
technomancy: I did not know that. That is very interesting, and adds to my curiosity Thanks.