summaryrefslogtreecommitdiffstats
path: root/.config/tridactyl/tridactylrc
blob: 887e250199e5d689266f110aba29e490269dd0e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
bind n scrollline 2
bind p scrollline -2

bind 0 scrollto 0 x
bind - scrollto 100 x

bind P tabprev
bind N tabnext

bind d scrollpage 0.5
bind u scrollpage -0.5
unbind <C-d>
unbind <C-u>

bind x tabclose
bind X undo
bind <C-S> stop

bind gd tabduplicate
bind gw tabdetach

bind O fillcmdline bmarks

bind ;<Space> fillcmdline_notrail

bind ;v hint -; video

command mpvmp4 js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --no-terminal --ytdl-format=mp4 ' + url))
bind ;gv hint -W mpvmp4

bind ;gV js tri.excmds.exclaim_quiet('mpv --no-terminal --ytdl-format=mp4 ' + document.location.href)

unbind <C-f>

set hintfiltermode vimperator-reflow
set hintnames numeric
set urlparenttrailingslash false

set browser abrowser
" set newtab https://bandali.eu.org

seturl warrior.uwaterloo.ca noiframe true

" autocmd DocStart www.reddit.com js tri.excmds.urlmodify("-t", "www", "old")

colourscheme bandali