-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtridactylrc
More file actions
61 lines (46 loc) · 1.29 KB
/
tridactylrc
File metadata and controls
61 lines (46 loc) · 1.29 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
"dark theme
colorscheme dark
"set external editor
set editorcmd urxvt -e nvim
"custom bindings
bind J tabnext
bind K tabprev
bind j scrollline +3
bind k scrollline -3
bind 0 tabfirst
bind $ tablast
"navigation
set hintchars asdfwertjkuio
set hintuppercase false
set smoothscroll true
set scrollduration 20
"make yy use canonical / short links on the 5 websites that support them
bind yy clipboard yankshort
"blacklist: defaults to ignore mode
blacklistadd mail.google.com/mail
blacklistadd inbox.google.com
blacklistadd calendar.google.com
blacklistadd keep.google.com
blacklistadd drive.google.com
blacklistadd docs.google.com
blacklistadd photos.google.com
blacklistadd riot.im/app
"
" Site-specific tweaks
"
"only hint search results on Google
bindurl www.google.com f hint -Jc .rc > .r > a
bindurl www.google.com F hint -Jtc .rc>.r>a
"make gu take you back to subreddit from comments
bindurl reddit.com gu urlparent 3
"comment toggler for Hacker News
bind ;c hint -c [class*="expand"],[class="threadline"],[class="togg"]
"
" Search engines
"
"abbrev for ddg
set searchurls.ddg https://duckduckgo.com/?q=
"julia docs' built in search is bad
set searchurls.julia https://www.google.com/search?q=site:http://docs.julialang.org/en/latest%20
"tbp
set searchurls.tpb https://thepiratebay.org/search/%s/0/99/0