Last active
January 1, 2024 18:22
-
-
Save s-haensch/0a16a35e07e721a1e1befd02d45fa104 to your computer and use it in GitHub Desktop.
Tridactyl RC file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" General Settings | |
set update.lastchecktime 1689854631270 | |
set update.nag true | |
set update.nagwait 7 | |
set update.lastnaggedversion 1.14.0 | |
set update.checkintervalsecs 86400 | |
set configversion 2.0 | |
" Binds | |
bind ü yankAllUrls | |
bind <C-ä> credits | |
bind <C-6> buffer # | |
bind <A-p> pin | |
bind <A-m> mute toggle | |
bind <F1> help | |
bind o fillcmdline open | |
bind O current_url open | |
bind w fillcmdline winopen | |
bind W current_url winopen | |
bind t fillcmdline tabopen | |
bind ]] followpage next | |
bind [[ followpage prev | |
bind [c urlincrement -1 | |
bind ]c urlincrement 1 | |
bind <C-x> urlincrement -1 | |
bind <C-a> urlincrement 1 | |
bind T current_url tabopen | |
bind yy clipboard yank | |
bind ys clipboard yankshort | |
bind yc clipboard yankcanon | |
bind ym clipboard yankmd | |
bind yo clipboard yankorg | |
bind yt clipboard yanktitle | |
bind gh home | |
bind gH home true | |
bind p clipboard open | |
bind P clipboard tabopen | |
bind j scrollline 10 | |
bind k scrollline -10 | |
bind <C-e> scrollline 10 | |
bind h scrollpx -50 | |
bind i scrollpx 50 | |
bind G scrollto 100 | |
bind gg scrollto 0 | |
bind <C-u> scrollpage -0.5 | |
bind <C-d> scrollpage 0.5 | |
bind <C-f> scrollpage 1 | |
bind <C-b> scrollpage -1 | |
bind <C-v> nmode ignore 1 mode normal | |
bind $ scrollto 100 x | |
bind ^ scrollto 0 x | |
bind H back | |
bind L forward | |
bind <C-o> jumpprev | |
bind <C-i> jumpnext | |
bind d tabclose | |
bind D composite tabprev; tabclose # | |
bind gx0 tabclosealltoleft | |
bind gx$ tabclosealltoright | |
bind << tabmove -1 | |
bind >> tabmove +1 | |
bind u undo | |
bind U undo window | |
bind r reload | |
bind R reloadhard | |
bind x stop | |
bind gi focusinput -l | |
bind g? rot13 | |
bind g! jumble | |
bind g; changelistjump -1 | |
bind J tabprev | |
bind K tabnext | |
bind gt tabnext_gt | |
bind gT tabprev | |
bind g^ tabfirst | |
bind g0 tabfirst | |
bind g$ tablast | |
bind ga tabaudio | |
bind gr reader | |
bind gu urlparent | |
bind gU urlroot | |
bind gf viewsource | |
bind : fillcmdline_notrail | |
bind s fillcmdline open search | |
bind S fillcmdline tabopen search | |
bind M gobble 1 quickmark | |
bind B fillcmdline taball | |
bind b fillcmdline tab | |
bind ZZ qall | |
bind f hint -b | |
bind F hint | |
bind gF hint -qb | |
bind ;i hint -i | |
bind ;b hint -b | |
bind ;o hint | |
bind ;I hint -I | |
bind ;k hint -k | |
bind ;K hint -K | |
bind ;y hint -y | |
bind ;Y hint -cF img i => tri.excmds.yankimage(tri.urlutils.getAbsoluteURL(i.src)) | |
bind ;p hint -p | |
bind ;h hint -h | |
bind v hint -h | |
bind ;P hint -P | |
bind ;r hint -r | |
bind ;s hint -s | |
bind ;S hint -S | |
bind ;a hint -a | |
bind ;A hint -A | |
bind ;; hint -; * | |
bind ;# hint -# | |
bind ;v hint -W mpvsafe | |
bind ;V hint -V | |
bind ;w hint -w | |
bind ;t hint -W tabopen | |
bind ;O hint -W fillcmdline_notrail open | |
bind ;W hint -W fillcmdline_notrail winopen | |
bind ;T hint -W fillcmdline_notrail tabopen | |
bind ;z hint -z | |
bind ;m composite hint -Jpipe img src | open images.google.com/searchbyimage?image_url= | |
bind ;M composite hint -Jpipe img src | tabopen images.google.com/searchbyimage?image_url= | |
bind ;gi hint -qi | |
bind ;gI hint -qI | |
bind ;gk hint -qk | |
bind ;gy hint -qy | |
bind ;gp hint -qp | |
bind ;gP hint -qP | |
bind ;gr hint -qr | |
bind ;gs hint -qs | |
bind ;gS hint -qS | |
bind ;ga hint -qa | |
bind ;gA hint -qA | |
bind ;g; hint -q; | |
bind ;g# hint -q# | |
bind ;gv hint -qW mpvsafe | |
bind ;gw hint -qw | |
bind ;gb hint -qb | |
bind ;gF hint -qb | |
bind ;gf hint -q | |
bind <S-Insert> mode ignore | |
bind <AC-Escape> mode ignore | |
bind <AC-`> mode ignore | |
bind <S-Escape> mode ignore | |
bind <Escape> composite mode normal ; hidecmdline | |
bind <C-[> composite mode normal ; hidecmdline | |
bind a current_url bmark | |
bind A bmark | |
bind zi zoom 0.1 true | |
bind zo zoom -0.1 true | |
bind zm zoom 0.5 true | |
bind zr zoom -0.5 true | |
bind zM zoom 0.5 true | |
bind zR zoom -0.5 true | |
bind zz zoom 1 | |
bind zI zoom 3 | |
bind zO zoom 0.3 | |
bind . repeat | |
bind <AS-ArrowUp><AS-ArrowUp><AS-ArrowDown><AS-ArrowDown><AS-ArrowLeft><AS-ArrowRight><AS-ArrowLeft><AS-ArrowRight>ba open https://www.youtube.com/watch?v=M3iOROuTuMA | |
bind m gobble 1 markadd | |
bind ` gobble 1 markjump | |
" Aliases | |
alias help | |
alias yankAllUrls composite jsb browser.tabs.query({currentWindow: true}).then(r => r.map(o => '"' + o.url + '"').join(",\n")) | yank | |
command alias command | |
alias au autocmd | |
alias aucon autocontain | |
alias audel autocmddelete | |
alias audelete autocmddelete | |
alias blacklistremove autocmddelete DocStart | |
alias b tab | |
alias clsh clearsearchhighlight | |
alias nohlsearch clearsearchhighlight | |
alias noh clearsearchhighlight | |
alias o open | |
alias w winopen | |
alias t tabopen | |
alias tabgroupabort tgroupabort | |
alias tabgroupclose tgroupclose | |
alias tabgroupcreate tgroupcreate | |
alias tabgrouplast tgrouplast | |
alias tabgroupmove tgroupmove | |
alias tabgrouprename tgrouprename | |
alias tabgroupswitch tgroupswitch | |
alias tabnew tabopen | |
alias tabm tabmove | |
alias tabo tabonly | |
alias tn tabnext_gt | |
alias bn tabnext_gt | |
alias tnext tabnext_gt | |
alias bnext tabnext_gt | |
alias tp tabprev | |
alias tN tabprev | |
alias bp tabprev | |
alias bN tabprev | |
alias tprev tabprev | |
alias bprev tabprev | |
alias tabfirst tab 1 | |
alias tablast tab 0 | |
alias bfirst tabfirst | |
alias blast tablast | |
alias tfirst tabfirst | |
alias tlast tablast | |
alias buffer tab | |
alias bufferall taball | |
alias bd tabclose | |
alias bdelete tabclose | |
alias quit tabclose | |
alias q tabclose | |
alias qa qall | |
alias sanitize sanitise | |
alias saveas! saveas --cleanup --overwrite | |
alias tutorial tutor | |
alias h help | |
alias unmute mute unmute | |
alias authors credits | |
alias openwith hint -W | |
alias ! exclaim | |
alias !s exclaim_quiet | |
alias containerremove containerdelete | |
alias colours colourscheme | |
alias colorscheme colourscheme | |
alias colors colourscheme | |
alias man help | |
alias !js fillcmdline_tmp 3000 !js is deprecated. Please use js instead | |
alias !jsb fillcmdline_tmp 3000 !jsb is deprecated. Please use jsb instead | |
alias get_current_url js document.location.href | |
alias current_url composite get_current_url | fillcmdline_notrail | |
alias stop js window.stop() | |
alias zo zoom | |
alias installnative nativeinstall | |
alias nativeupdate updatenative | |
alias mkt mktridactylrc | |
alias mkt! mktridactylrc -f | |
alias mktridactylrc! mktridactylrc -f | |
alias mpvsafe js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --no-terminal ' + url)) | |
alias drawingstop mouse_mode | |
alias exto extoptions | |
alias extpreferences extoptions | |
alias extp extpreferences | |
alias prefset setpref | |
alias prefremove removepref | |
alias tabclosealltoright tabcloseallto right | |
alias tabclosealltoleft tabcloseallto left | |
alias reibadailty jumble | |
" Autocmds | |
autocmd DocStart http://first20hours.github.io/keyzen-colemak/ mode ignore | |
autocmd DocStart https://thetypingcat.com/typing-courses/* mode ignore | |
autocmd DocStart https://online.tipp10.com/de/training/ mode ignore | |
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl | |
" vim: set filetype=tridactyl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment