sanitise tridactyllocal tridactylsync colourscheme swarsel " General Settings set update.lastchecktime 1720629386560 set update.lastnaggedversion 1.24.1 set update.nag true set update.nagwait 7 set update.checkintervalsecs 86400 set configversion 2.0 set searchurls.no https://search.nixos.org/options?query= set searchurls.np https://search.nixos.org/packages?query= set searchurls.hm https://home-manager-options.extranix.com/?query= set searchurls.@c https://vbc.atlassian.net/wiki/search?text= set searchurls.@j https://vbc.atlassian.net/issues/?jql=textfields%20~%20%22%s*%22&wildcardFlag=true set completions.Tab.statusstylepretty true set hintfiltermode vimperator-reflow set hintnames numeric unbind --mode=hint " Binds bind buffer # bind gd tabdetach bind gD composite tabduplicate; tabdetach bind d composite tabprev; tabclose # bind D tabclose bind c hint -J bindurl ^http(s)?://www\.google\.com c hint -Jc [class="LC20lb MBeuO DKV0Md"],[class="YmvwI"],[class="YyVfkd"],[class="fl"] bindurl ^http(s)?://news\.ycombinator\.com c hint -Jc [class="titleline"],[class="age"] bindurl ^http(s)?://lobste\.rs c hint -Jc [class="u-url"],[class="comments_label"] bindurl ^http(s)?://reddit\.com c hint -Jc [class="title may-blank loggedin"],[class="bylink comments may-blank"] bindurl ^http(s)?://github\.com c hint -Jc [class="Link--primary"],[class="AppHeader-button Button--secondary Button--medium Button p-0 color-fg-muted"],[class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"],[class="prc-ActionList-ItemLabel-TmBhn"],[class="PRIVATE_TreeView-item-content-text prc-TreeView-TreeViewItemContentText-smZM-"] bindurl ^http(s)?://vbc\.atlassian\.net\/wiki c hint -Jc [class="_1reo15vq _18m915vq _1bto1l2s _kqswh2mm _o5721q9c _syaz1fxt"],[class="_11c81ixg _1reo15vq _18m915vq _18s81b66 _kqswh2mm _k48p1wq8 _o5721q9c _1bto1l2s _u5f31b66"],[class="_1r04ze3t _kqswstnw"],[class="css-a61etj"],[class="jira-macro-table-underline-pdfexport"] bindurl ^http(s)?://www\.google\.com gi composite focusinput -l ; text.end_of_line " Work command tab_or_tabopen jsb -p (async () => {let tabs = await browser.tabs.query({}); let tab = tabs.find(t => t.url.includes(JS_ARG)); if (tab) {browser.tabs.update(tab.id, { active: true });} else {tri.excmds.tabopen(JS_ARG);}})() command tab_or_tabopen_local jsb -p (async () => {const currentWindow = await browser.windows.getCurrent(); const tabs = await browser.tabs.query({ windowId: currentWindow.id }); const tab = tabs.find(t => t.url.includes(JS_ARG)); if (tab) {browser.tabs.update(tab.id, { active: true });} else {tri.excmds.tabopen(JS_ARG);}})() bind gwa tab_or_tabopen_local apic-impimba-1.m.imp.ac.at bind gwA tab_or_tabopen_local artifactory.imp.ac.at bind gwb tab_or_tabopen_local bitbucket.vbc.ac.at bind gwc tab_or_tabopen_local vbc.atlassian.net/wiki bind gwd tab_or_tabopen_local datadomain-impimba-2.imp.ac.at bind gwe tab_or_tabopen_local exivity.vbc.ac.at bind gwg tab_or_tabopen_local github.com bind gwG tab_or_tabopen_local goc.egi.eu bind gwh tab_or_tabopen_local jupyterhub.vbc.ac.at bind gwj tab_or_tabopen_local jenkins.vbc.ac.at bind gwJ tab_or_tabopen_local test-jenkins.vbc.ac.at bind gwl tab_or_tabopen_local lucid.app bind gwm tab_or_tabopen_local monitoring.vbc.ac.at/grafana bind gwM tab_or_tabopen_local monitoring.vbc.ac.at/prometheus bind gwn tab_or_tabopen_local netbox.vbc.ac.at bind gwN tab_or_tabopen_local nap.imp.ac.at bind gwo tab_or_tabopen_local outlook.office.com bind gws tab_or_tabopen_local satellite.vbc.ac.at bind gwt tab_or_tabopen_local tower.vbc.ac.at bind gwv tab_or_tabopen_local vc-impimba-1.m.imp.ac.at/ui bind gwx tab_or_tabopen_local xclarity.vbc.ac.at unbind --mode=normal gh bind ghp tab_or_tabopen_local https://github.com/pulls bind ghi tab_or_tabopen_local https://github.com/issues/assigned?q=is%3Aissue%20state%3Aopen%20archived%3Afalse%20(assignee%3A%40me%20OR%20author%3A%40me)%20sort%3Aupdated-desc bind ghv tab_or_tabopen_local github.com/orgs/vbc-it/repositories bind ghc tab_or_tabopen_local github.com/orgs/CLIP-HPC/repositories bind ghd tab_or_tabopen_local github.com/Swarsel/.dotfiles bind ghni tab_or_tabopen_local github.com/NixOS/nixpkgs/issues bind ghnp tab_or_tabopen_local github.com/NixOS/nixpkgs/pulls unbind --mode=normal gp bind gprn tab_or_tabopen_local www.reddit.com/r/NixOS/ bind gpd tab_or_tabopen_local discourse.nixos.org/ bind gpp tab_or_tabopen_local parkour.wien/categories " Search in page set findcase smart bind / fillcmdline find bind ? fillcmdline find -? bind n findnext 1 bind N findnext -1 bind j scrollline 4 bind k scrollline -4 " WARNING: This file defines and runs a command called fixamo_quiet. If you " also have a malicious addon that operates on `` installed this " will allow it to steal your firefox account credentials! " " With those credentials, an attacker can read anything in your sync account, " publish addons to the AMO, etc, etc. " " Without this command a malicious addon can steal credentials from any site " that you visit that is not in the restrictedDomains list. " " You should comment out the fixamo lines unless you are entirely sure that " they are what you want. command fixamo_quiet jsb tri.excmds.setpref("privacy.resistFingerprinting.block_mozAddonManager", "true").then(tri.excmds.setpref("extensions.webextensions.restrictedDomains", '""')) command fixamo js tri.excmds.setpref("privacy.resistFingerprinting.block_mozAddonManager", "true").then(tri.excmds.setpref("extensions.webextensions.restrictedDomains", '""').then(tri.excmds.fillcmdline_tmp(3000, "Permissions added to user.js. Please restart Firefox to make them take affect."))) fixamo_quiet set allowautofocus false " The following modification allows Tridactyl to function on more pages, e.g. raw GitHub pages. " You may not wish to run this. Mozilla strongly feels that you shouldn't. " Read https://wiki.mozilla.org/Security/CSP#Goals for more information. " " Equivalent to `set csp clobber` before it was removed. " This weakens your defences against cross-site-scripting attacks " and other types of code-injection by reducing the strictness " of Content Security Policy on all sites in a couple of ways. " " We remove the sandbox directive " https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/sandbox " which allows our iframe (and anyone else's) to run on any website. " " We weaken the style-src directive " https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src " to allow us to theme our elements. " This exposes you to 'cross site styling' attacks jsb browser.webRequest.onHeadersReceived.addListener(tri.request.clobberCSP,{urls:[""],types:["main_frame"]},["blocking","responseHeaders"]) " default is 300ms set hintdelay 500 " Some pages like github break on the tridactyl quick search. have this as a fallback unbind " Do not let websites steal sitefocus set allowautofocus false " whitelist sites " :seturl [URL regex for sites with text editors you use] allowautofocus true " stronger blacklist for specific sites seturl vbc.atlassian.net preventautofocusjackhammer true " Subconfig Settings seturl www.google.com followpagepatterns.next Next seturl www.google.com followpagepatterns.prev Previous " Autocmds autocmd DocStart undefined mode ignore autocmd DocStart pokerogue.net mode ignore autocmd DocStart typelit.io mode ignore autocmd DocStart vc-impimba-1.m.imp.ac.at/ui/webconsole mode ignore " For syntax highlighting see https://github.com/tridactyl/vim-tridactyl " vim: set filetype=tridactyl