summaryrefslogtreecommitdiff
path: root/.config/tridactyl/tridactylrc
blob: ec070ff5cc97fb215ee9c229db15e378241f5161 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
" General Settings
set editorcmd tridactyl_edit %f %l %c
set theme dark
set searchurls.searx_redirect https://search.libredirect.invalid/?q=%s
set searchengine searx_redirect

" Binds
bind --mode=insert <C-i> editor_rm
bind ;gl hint -qW linkhandlersafe

" Aliases
alias editor_rm composite editor | jsb -p tri.native.run(`rm -f '${JS_ARG[0]}'`)
alias linkhandlersafe js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('linkhandler ' + url))

" Save using :mkt <filename>
" Load using :source

" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
" vim: set filetype=tridactyl