feat: add tridactyl configuration to NixOS

This commit is contained in:
Swarsel 2024-07-11 11:11:30 +02:00
parent 1af0cc3ac5
commit 3cd390bb1c
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 290 additions and 0 deletions

View file

@ -0,0 +1,36 @@
sanitise tridactyllocal tridactylsync
colourscheme base16-codeschool
" 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 hintfiltermode vimperator-reflow
set hintnames numeric
" Binds
bind gd tabdetach
bind gD composite tabduplicate; tabdetach
bind d composite tabprev; tabclose #
bind D tabclose
bind c hint
bindurl ^http(s)?://www\.google\.com c hint -Jc [class="LC20lb MBeuO DKV0Md"],[class="YmvwI"],[class="YyVfkd"],[class="fl"]
bindurl ^http(s)?://www\.google\.com gi composite focusinput -l ; text.end_of_line
" 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
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
" vim: set filetype=tridactyl