From de12ddd5802b56445672589e467ff0eac98447f3 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Fri, 1 Aug 2014 20:43:37 +0300 Subject: over the summer changes --- pentadactylrc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'pentadactylrc') diff --git a/pentadactylrc b/pentadactylrc index e9a27ed..3cfd843 100644 --- a/pentadactylrc +++ b/pentadactylrc @@ -120,7 +120,7 @@ map -count -modes=n,v U -builtin u map -count -modes=n,v x -builtin d map -count -modes=n,v w owikipedia set autocomplete= -set defsearch=google +set defsearch=startpage-https set editor='rxvt -e sh -c "vim + +\"sil! call cursor(0, )\" "' @@ -133,3 +133,16 @@ au DownloadPost * :silent !~/.ratpoison/ranger_browser.sh " vim: set ft=pentadactyl: + +" Toggle images with A-i +javascript <"], + "Toggle images display", + function () { + if (prefs.get('permissions.default.image') == 1) + prefs.set("permissions.default.image", 2); + else + prefs.set("permissions.default.image", 1); + tabs.reload(config.browser.mCurrentTab); + }); +EOF -- cgit v1.2.3-54-g00ecf