" 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 set theme shydactyl set smoothscroll true bind n findnext 1 bind N findnext -1 bind gt fillcmdline tabopen -b bind , 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 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")