Skip to content

Commit

Permalink
feat: Try to add Kagi to tridactyl
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Jan 23, 2024
1 parent 2b2bfe4 commit abc16a1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/tridactyl/tridactylrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ autocmd DocStart ^http(s?)://www.reddit.com js tri.excmds.urlmodify("-t", "www",
" Mosquito nets won't make themselves
" autocmd DocStart ^http(s?)://www.amazon.co.uk js tri.excmds.urlmodify("-t", "www", "smile")

set newtab about:blank
set newtab kagi.com

" Only hint search results on DDG
bindurl ^https://duckduckgo.com f hint -Jc [class=result__a]
bindurl ^https://duckduckgo.com F hint -Jbc [class=result__a]

" Only hint search results on kagi
bindurl ^https://kagi.com f hint -Jc [class=__sri_title_link]
bindurl ^https://kagi.com F hint -Jbc [class=__sri_title_link]

" Allow Ctrl-a to select all in the commandline
unbind --mode=ex <C-a>

Expand Down

0 comments on commit abc16a1

Please sign in to comment.