user/settings/firefox/tridactylrc (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | " vim: set filetype=tridactyl
" revert settings that are removed from this file
sanitize tridactyllocal tridactylsync
set allowautofocus false
set hintuppercase false
set hintchars asdfjkl;weio
hintstylesnohighlights
set theme shydactyl
set smoothscroll true
bind n findnext 1
bind N findnext -1
bind gt fillcmdline tabopen -b
bind ,<Space> nohlsearch
bind ,b fillcmdline bmarks
bind t fillcmdline tabopen
bind o fillcmdline open
bind x tabclose
bind X composite tabprev; tabclose #
bind w tabprev
bind e tabnext
bind d scrollpage 0.5
bind u scrollpage -0.5
bind J back
bind K forward
bind ;c hint -Jc [class*="expand"],[class*="togg"],[class="comment_folder"]
bind C-u undo
bind C-U undo window
bind --mode=browser <C-.> sidebartoggle
set searchurls.amo https://addons.mozilla.org/en-GB/firefox/search/?q=%s
set searchurls.hifishark https://www.hifishark.com/search?q=%s
set searchurls.steam https://store.steampowered.com/search/?term=%s
set searchurls.sx https://searchix.ovh/?query=%
set searchurls.np https://searchix.ovh/packages/nixpkgs/search?query=%s
set searchurls.no https://searchix.ovh/options/nixos/search?query=%s
set searchurls.do https://searchix.ovh/options/darwin/search?query=%s
set searchurls.hm https://searchix.ovh/options/home-manager/search?query=%s
set searchurls.gopkg https://pkg.go.dev/search?q=%s
set searchurls.gp gopkg
set jsurls.r url => "http://" + url
bindurl ^https://duckduckgo.com f hint -Jc [data-testid="result-title-a"],.result--more__btn,.zcm__link,.dropdown__button,#more-results
bindurl ^https://duckduckgo.com F hint -Jbc [data-testid="result-title-a"],.zcm__link
bindurl ^https://codeberg.org/$ f hint -x rect,g
bindurl ^https://codeberg.org/$ f hint -bx rect,g
seturl ^https://searchix.ovh allowautofocus true
seturl ^https://accounts.ebay.de allowautofocus true
seturl ^https://www.producthunt.com/search= allowautofocus true
autocmd DocStart ^http(s?)://www.reddit.com js tri.excmds.urlmodify("-t", "www", "old")
|