diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-07-30 23:53:42 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-07-31 00:30:49 +0200 |
commit | dec57afd46312bc21000cc7e6ea28486e7bc0093 (patch) | |
tree | 07d1f388558ba5305cae31034a9cd5d7df7e0369 /pentadactyl/pentadactylrc | |
parent | 0e303fbb13e7124067bb4bb8b16989819d9a37cc (diff) | |
download | dotfiles-dec57afd46312bc21000cc7e6ea28486e7bc0093.tar.xz |
Add pentadactylrc
Diffstat (limited to 'pentadactyl/pentadactylrc')
-rw-r--r-- | pentadactyl/pentadactylrc | 66 |
1 files changed, 66 insertions, 0 deletions
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 <A-h> -e :tabprev +nmap <A-l> -e :tabnext +nmap <A-S-h> -e :tabmove -1 +nmap <A-S-l> -e :tabmove +1 + +" Toggle bookmark toolbar +nmap <A-b> -e :toolbartoggle Bookmarks Toolbar + +" Easily show downloads +nmap <S-d> -e :downloads + +" Stop <C-j> and <C-k> doing whatever it does +nmap <C-j> <nop> +nmap <C-k> <nop> + +nmap <A> <nop> + +" Open the current URL as an argument to yt-dl +nmap <S-u> -e :launchv + +" Same above but with quvi +nmap <S-q> -e :launchvq + +" Use vim instead of gvim for now +set editor='termite -e "vim +<line> <file>"' + +" 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 |