diff options
Diffstat (limited to '.config/tridactyl/tridactylrc')
| -rw-r--r-- | .config/tridactyl/tridactylrc | 133 |
1 files changed, 0 insertions, 133 deletions
diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc deleted file mode 100644 index 3494540..0000000 --- a/.config/tridactyl/tridactylrc +++ /dev/null @@ -1,133 +0,0 @@ -" vim: ft=vim -sanitise tridactyllocal tridactylsync - -set browser firefox -set allowautofocus false -set searchengine duckduckgo -set tabopencontaineraware true -set editorcmd foot -a floaterm -T tridactyl-editor -- nvim -set historyresults 50 -" set newtab https://html.duckduckgo.com -set allowautofocus true -set newtabfocus page -set leavegithubalone false -" set blacklistkeys ["/","<Space>",";"] - -colors r - -" remove annoying binds -unbind s -unbind <C-f> -unbind <C-a> -unbind <F1> -unbind p - -bind J tabnext -bind K tabprev - -bind <Space>tw fillcmdline tabopen -c wee -bind <Space>tp fillcmdline tabopen -c pers -bind <Space>tb fillcmdline tabopen -c bank -bind <Space>ts fillcmdline tabopen -c shop - -bind <Space>s fillcmdline tabopen search -bind <Space>n fillcmdline nativeopen -bind <Space>c fillcmdline recontain - -bind <C-o> back -bind <C-i> forward -bind <C-n> tabnext -bind <C-p> tabprev - -bind / fillcmdline find -bind n findnext 1 -bind N findnext -1 -bind <Space>, nohlsearch - -" select all in cmdline -unbind --mode=ex <C-a> - -unbind --mode=browser <C-,> -unbind --mode=browser <C-6> -unbind --mode=browser <CS-6> - -bindurl news.ycombinator.com ;c hint -fr \d+\scomments -bindurl news.ycombinator.com f hint -c [class*="storylink"] - -" better result hinting on ddg -bindurl duckduckgo.com f hint -c a[class="result__url"] -bindurl duckduckgo.com F hint -b -c a[class="result__url"] - -" hint: mpv/video -bind gv js tri.native.run(`mpvplay ${document.location.href}`) -bind yv composite getclip | js -p tri.native.run(`mpvplay ${JS_ARG}`) -bind ;v hint -W js -p tri.native.run(`mpvplay ${JS_ARG}`) -" bind ;v hint -W !s mpv --profile=cache - -" hint: other -bind ;i hint -W js -p tri.native.run(`sh -c "notify-send 'tridactly > imv' '${JS_ARG}' && imv '${JS_ARG}'"`) -bind ;e hint -W js -p tri.native.run(`sh -c "notify-send 'tridactly > vim' '${JS_ARG}' && alacritty --class '__floating-tridactyledit' -e nvim '${JS_ARG}'"`) - -bind gp composite get_current_url | fillcmdline winopen -popup -bind g1 tab 2 -bind g2 tab 3 -bind g3 tab 4 -bind g4 tab 5 - -" some autocommands that rewrite URLs -" autocmd DocStart www.amazon.co.uk js tri.excmds.urlmodify("-t", "www", "smile") -" autocmd DocStart golang.org/pkg js tri.excmds.urlmodify("-t", "golang.org/pkg", "godoc.org") - -seturl overleaf.com mode ignore -seturl jel.ly.fish mode ignore - -seturl typeform.com superignore true -seturl gather.town superignore true -seturl typingclub.com superignore true -seturl monkeytype.com superignore true - -" fix youtube -seturl youtube.com noiframe true -unbindurl youtube.com f -unbindurl youtube.com 1 -unbindurl youtube.com 2 -unbindurl youtube.com 3 -unbindurl youtube.com 4 -unbindurl youtube.com 5 -unbindurl youtube.com 6 -unbindurl youtube.com 7 -unbindurl youtube.com 8 -unbindurl youtube.com 9 -unbindurl youtube.com <Space> -bindurl youtube.com h hint -bindurl youtube.com T tabopen ddg.gg -bindurl youtube.com C recontain personal - -" fix twitch -unbindurl twitch.tv <Space> - -" fix reddit -seturl reddit.com allowautofocus true -unbindurl reddit.com <Escape> -unbindurl reddit.com j -unbindurl reddit.com k -unbindurl reddit.com n -unbindurl reddit.com p -unbindurl reddit.com a -unbindurl reddit.com z -unbindurl reddit.com c -" unbindurl reddit.com r -unbindurl reddit.com s -unbindurl reddit.com h -unbindurl reddit.com x -unbindurl reddit.com l - -unbindurl boards.4chan.*.org x -unbindurl boards.4chan.*.org T -unbindurl boards.4chan.*.org B -unbindurl boards.4chan.*.org n -unbindurl boards.4chan.*.org p -unbindurl boards.4chan.*.org F -unbindurl boards.4chan.*.org W -unbindurl boards.4chan.*.org <C-j> -unbindurl boards.4chan.*.org <C-k> |