-
Notifications
You must be signed in to change notification settings - Fork 1
/
tridactylrc
57 lines (42 loc) · 1.74 KB
/
tridactylrc
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
" vim: filetype=vim
set theme midnight
" Ctrl-F should use the browser's native 'find' functionality.
unbind <C-f>
unbind t
bind gd tabduplicate
bind gD tabdetach
bind to tabopen
bind tg fillcmdline tabgrab
bind tp fillcmdline tabpush
bind 'w fillcmdline tabopen -c work
bind 'p fillcmdline tabopen -c personal
" DDG CSS Selectors Reference
"" search type selector (all, images, videos, etc.)
"" country toggle
"" country / time selectors
"" options inside of the above selectors
"" title of actual search results
"" related results
"" load more results button
" bindurl duckduckgo.com f hint -Jc .zcm__link, .js-region-filter-switch, .search-filters a, .modal__list__link , a[data-testid="result-title-a"], .result__a, .result--more__btn
" Select all links other than:
"" DDG homepage link
"" Top right hamburger menu
"" Share Feedback link
"" Search result URL (using title instead)
bindurl duckduckgo.com f hint -Jc a:not(.header__logo-wrap, .js-side-menu-open, .feedback-prompt__link, [data-testid="result-extras-url-link"]), .js-region-filter-switch
autocmd DocStart ^http(s?)://netlify.com urlmodify -t asana app.netlify
autocmd DocStart ^https://app.asana.com mode ignore
autocmd DocStart ^https://app.diagrams.net mode ignore
" Disable <C-q>
bind --mode=insert <C-q> js alert("<C-q> is for quitters.")
bind --mode=input <C-q> js alert("<C-q> is for quitters.")
bind --mode=normal <C-q> js alert("<C-q> is for quitters.")
bind --mode=ex <C-q> js alert("<C-q> is for quitters.")
bind --mode=hint <C-q> js alert("<C-q> is for quitters.")
" 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
" Sane hinting mode
" set hintfiltermode vimperator-reflow
" set hintnames numeric