From dec57afd46312bc21000cc7e6ea28486e7bc0093 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 30 Jul 2014 23:53:42 +0200 Subject: Add pentadactylrc --- pentadactyl/pentadactylrc | 66 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 pentadactyl/pentadactylrc (limited to 'pentadactyl/pentadactylrc') diff --git a/pentadactyl/pentadactylrc b/pentadactyl/pentadactylrc new file mode 100644 index 0000000..e2bad71 --- /dev/null +++ b/pentadactyl/pentadactylrc @@ -0,0 +1,66 @@ +" ~/.pentadactylrc + +set runtimepath=~/.config/pentadactyl + +loadplugins '\.(js|penta)$' +group user +highlight FontFixed font-family: monospace !important; font: 12px "Source Code Pro" !important; +map -modes=n -silent C -javascript commands.execute('!(mpv "' + \ + content.location.href.replace(/([$`"\\])/g, "\\$1") + \ + '") &'); +set defsearch=duckduckgoog + + +" ui +source ~/.config/pentadactyl/chrome.css +set guioptions=Csn +set hlfind + +" Speed up scrolling +nmap -b h 5h +nmap -b j 5j +nmap -b k 5k +nmap -b l 5l + +" Tab control +nmap -e :tabprev +nmap -e :tabnext +nmap -e :tabmove -1 +nmap -e :tabmove +1 + +" Toggle bookmark toolbar +nmap -e :toolbartoggle Bookmarks Toolbar + +" Easily show downloads +nmap -e :downloads + +" Stop and doing whatever it does +nmap +nmap + +nmap + +" Open the current URL as an argument to yt-dl +nmap -e :launchv + +" Same above but with quvi +nmap -e :launchvq + +" Use vim instead of gvim for now +set editor='termite -e "vim + "' + +" Hide the status bar when using fullscreen +au fullscreen on set go-=s +au fullscreen off set go+=s + +" Change some default about:configs +set! noscript.keys.tempAllowPage="alt z" +set! noscript.keys.revokeTemp="alt c" +"set! noscript.notify=false +set! plugins.click_to_play=true +set! plugin.default.state=1 + +" Require websites preform safe ssl negotiation +set! security.ssl.treat_unsafe_negotiation_as_broken=true + +" vim: ft=pentadactyl -- cgit v1.2.3-54-g00ecf