-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tridactylrc
566 lines (517 loc) · 14.6 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
" General Settings
set configversion 2.0
set customthemes.base16-flat :root { /* Flat by Chris Kempson (http://chriskempson.com) */
set customthemes.base16-gruvbox-dark-hard :root { /* Gruvbox-dark-hard by Chris Kempson (http://chriskempson.com) */
set customthemes.base16-monokai :root { /* Monokai by Chris Kempson (http://chriskempson.com) */
set customthemes.base16-onedark :root { /* Onedark by Chris Kempson (http://chriskempson.com) */
set customthemes.base16-rebecca :root { /* Rebecca by Chris Kempson (http://chriskempson.com) */
set customthemes.base16-solarized-dark :root { /* Solarized-dark by Chris Kempson (http://chriskempson.com) */
--base00: #002b36;
--base01: #073642;
--base02: #586e75;
--base03: #657b83;
--base04: #839496;
--base05: #93a1a1;
--base06: #eee8d5;
--base07: #fdf6e3;
--base08: #dc322f;
--base09: #cb4b16;
--base0A: #b58900;
--base0B: #859900;
--base0C: #2aa198;
--base0D: #268bd2;
--base0E: #6c71c4;
--base0F: #d33682;
--tridactyl-fg: var(--base05);
--tridactyl-bg: var(--base00);
--tridactyl-url-fg: var(--base08);
--tridactyl-url-bg: var(--base00);
--tridactyl-highlight-box-bg: var(--base0B);
--tridactyl-highlight-box-fg: var(--base00);
/* Hint character tags */
--tridactyl-hintspan-fg: var(--base00) !important;
--tridactyl-hintspan-bg: var(--base0A) !important;
/* Element Highlights */
--tridactyl-hint-active-fg: none;
--tridactyl-hint-active-bg: none;
--tridactyl-hint-active-outline: none;
--tridactyl-hint-bg: none;
--tridactyl-hint-outline: none;
}
#command-line-holder { order: 1;
border: 2px solid var(--base0B);
color: var(--tridactyl-bg);
}
#tridactyl-input { padding: 1rem;
color: var(--tridactyl-fg);
width: 90%;
font-size: 1.5rem;
line-height: 1.5;
background: var(--tridactyl-bg);
padding-left: unset;
padding: 1rem;
}
#completions table { font-size: 0.8rem;
font-weight: 200;
border-spacing: 0;
table-layout: fixed;
padding: 1rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
#completions > div { max-height: calc(20 * var(--option-height));
min-height: calc(10 * var(--option-height));
}
/* COMPLETIONS */
#completions { --option-height: 1.4em;
color: var(--tridactyl-fg);
background: var(--tridactyl-bg);
display: inline-block;
font-size: unset;
font-weight: 200;
overflow: hidden;
width: 100%;
border-top: unset;
order: 2;
}
/* Olie doesn't know how CSS inheritance works */
#completions .HistoryCompletionSource { max-height: unset;
min-height: unset;
}
#completions .HistoryCompletionSource table { width: 100%;
font-size: 9pt;
border-spacing: 0;
table-layout: fixed;
}
/* redundancy 2: redundancy 2: more redundancy */
#completions .BmarkCompletionSource { max-height: unset;
min-height: unset;
}
#completions table tr td.prefix,#completions table tr td.privatewindow,#completions table tr td.container,#completions table tr td.icon { display: none;
}
#completions .BufferCompletionSource table { width: unset;
font-size: unset;
border-spacing: unset;
table-layout: unset;
}
#completions table tr .title { width: 50%;
}
#completions table tr { white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#completions .sectionHeader { background: unset;
font-weight: 200;
border-bottom: unset;
padding: 1rem !important;
padding-left: unset;
padding-bottom: 0.2rem;
}
#cmdline_iframe { position: fixed !important;
bottom: unset;
top: 25% !important;
left: 10% !important;
z-index: 2147483647 !important;
width: 80% !important;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px !important;
}
.TridactylStatusIndicator { position: fixed !important;
bottom: 0 !important;
background: var(--tridactyl-bg) !important;
border: unset !important;
border: 1px var(--base0B) solid !important;
font-size: 12pt !important;
/*font-weight: 200 !important;*/
padding: 0.8ex !important;
}
#completions .focused { background: var(--base0B);
color: var(--base00);
}
#completions .focused .url { background: var(--base0B);
color: var(--base00);
}
/* #Ocean-normal { */
/* border-color: green !important; */
/* } */
/* #Ocean-insert { */
/* border-color: yellow !important; */
/* } */
set customthemes.base16-tomorrow-night :root { /* Tomorrow-night by Chris Kempson (http://chriskempson.com) */
set customthemes.base16-green-screen :root { /* Green-screen by Chris Kempson (http://chriskempson.com) */
--base00: #001100;
--base01: #003300;
--base02: #005500;
--base03: #007700;
--base04: #009900;
--base05: #00bb00;
--base06: #00dd00;
--base07: #00ff00;
--base08: #007700;
--base09: #009900;
--base0A: #007700;
--base0B: #00bb00;
--base0C: #005500;
--base0D: #009900;
--base0E: #00bb00;
--base0F: #005500;
--tridactyl-fg: var(--base05);
--tridactyl-bg: var(--base00);
--tridactyl-url-fg: var(--base08);
--tridactyl-url-bg: var(--base00);
--tridactyl-highlight-box-bg: var(--base0B);
--tridactyl-highlight-box-fg: var(--base00);
/* Hint character tags */
--tridactyl-hintspan-fg: var(--base00) !important;
--tridactyl-hintspan-bg: var(--base0A) !important;
/* Element Highlights */
--tridactyl-hint-active-fg: none;
--tridactyl-hint-active-bg: none;
--tridactyl-hint-active-outline: none;
--tridactyl-hint-bg: none;
--tridactyl-hint-outline: none;
}
#command-line-holder { order: 1;
border: 2px solid var(--base0B);
color: var(--tridactyl-bg);
}
#tridactyl-input { padding: 1rem;
color: var(--tridactyl-fg);
width: 90%;
font-size: 1.5rem;
line-height: 1.5;
background: var(--tridactyl-bg);
padding-left: unset;
padding: 1rem;
}
#completions table { font-size: 0.8rem;
font-weight: 200;
border-spacing: 0;
table-layout: fixed;
padding: 1rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
#completions > div { max-height: calc(20 * var(--option-height));
min-height: calc(10 * var(--option-height));
}
/* COMPLETIONS */
#completions { --option-height: 1.4em;
color: var(--tridactyl-fg);
background: var(--tridactyl-bg);
display: inline-block;
font-size: unset;
font-weight: 200;
overflow: hidden;
width: 100%;
border-top: unset;
order: 2;
}
/* Olie doesn't know how CSS inheritance works */
#completions .HistoryCompletionSource { max-height: unset;
min-height: unset;
}
#completions .HistoryCompletionSource table { width: 100%;
font-size: 9pt;
border-spacing: 0;
table-layout: fixed;
}
/* redundancy 2: redundancy 2: more redundancy */
#completions .BmarkCompletionSource { max-height: unset;
min-height: unset;
}
#completions table tr td.prefix,#completions table tr td.privatewindow,#completions table tr td.container,#completions table tr td.icon { display: none;
}
#completions .BufferCompletionSource table { width: unset;
font-size: unset;
border-spacing: unset;
table-layout: unset;
}
#completions table tr .title { width: 50%;
}
#completions table tr { white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#completions .sectionHeader { background: unset;
font-weight: 200;
border-bottom: unset;
padding: 1rem !important;
padding-left: unset;
padding-bottom: 0.2rem;
}
#cmdline_iframe { position: fixed !important;
bottom: unset;
top: 25% !important;
left: 10% !important;
z-index: 2147483647 !important;
width: 80% !important;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px !important;
}
.TridactylStatusIndicator { position: fixed !important;
bottom: 0 !important;
background: var(--tridactyl-bg) !important;
border: unset !important;
border: 1px var(--base0B) solid !important;
font-size: 12pt !important;
/*font-weight: 200 !important;*/
padding: 0.8ex !important;
}
#completions .focused { background: var(--base0B);
color: var(--base00);
}
#completions .focused .url { background: var(--base0B);
color: var(--base00);
}
/* #Ocean-normal { */
/* border-color: green !important; */
/* } */
/* #Ocean-insert { */
/* border-color: yellow !important; */
/* } */
set modeindicator false
set theme base16-green-screen
set update.lastchecktime 1609428659208
set update.lastnaggedversion 1.20.4
set update.nag true
set update.nagwait 7
set update.checkintervalsecs 86400
" Binds
bind --mode=insert <A-l> composite unfocus | mode normal
bind --mode=insert <Escape> composite unfocus | mode normal
bind --mode=insert <C-[> composite unfocus | mode normal
bind --mode=insert <C-i> editor
bind --mode=insert <AC-Escape> mode normal
bind --mode=insert <AC-`> mode normal
bind --mode=insert <S-Escape> mode ignore
bind $ scrollto 100 x
bind ,<Space> nohlsearch
bind . repeat
bind / fillcmdline find
bind : fillcmdline_notrail
bind ;# hint -#
bind ;; hint -;
bind ;A hint -A
bind ;I hint -I
bind ;M composite hint -pipe img src | jsb -p tri.excmds.tabopen('images.google.com/searchbyimage?image_url=' + JS_ARG)
bind ;O hint -W fillcmdline_notrail open
bind ;P hint -P
bind ;S hint -S
bind ;T hint -W fillcmdline_notrail tabopen
bind ;W hint -W fillcmdline_notrail winopen
bind ;b hint -b
bind ;g# hint -q#
bind ;g; hint -q;
bind ;gA hint -qA
bind ;gI hint -qI
bind ;gP hint -qP
bind ;gS hint -qS
bind ;ga hint -qa
bind ;gb hint -qb
bind ;gf hint -q
bind ;gi hint -qi
bind ;gk hint -qk
bind ;gp hint -qp
bind ;gr hint -qr
bind ;gs hint -qs
bind ;gv hint -qW mpvsafe
bind ;gw hint -qw
bind ;gy hint -qy
bind ;i hint -i
bind ;k hint -k
bind ;l hint -F e => { e.dispatchEvent(new MouseEvent('mouseover', {})); e.dispatchEvent(new MouseEvent('mouseenter', {})) }
bind ;m composite hint -pipe img src | js -p tri.excmds.open('images.google.com/searchbyimage?image_url=' + JS_ARG)
bind ;o hint
bind ;p hint -p
bind ;r hint -r
bind ;s hint -s
bind ;t hint -W tabopen
bind ;v hint -W mpvsafe
bind ;w hint -w
bind ;y hint -y
bind ;z hint -z
bind <A-l> composite mode normal ; hidecmdline
bind <A-m> mute toggle
bind <A-p> pin
bind <AC-Escape> mode ignore
bind <AC-`> mode ignore
bind <AS-ArrowUp><AS-ArrowUp><AS-ArrowDown><AS-ArrowDown><AS-ArrowLeft><AS-ArrowRight><AS-ArrowLeft><AS-ArrowRight>ba open https://www.youtube.com/watch?v=M3iOROuTuMA
bind <C-6> tab #
bind <C-[> composite mode normal ; hidecmdline
bind <C-^> tab #
bind <C-a> urlincrement 1
bind <C-d> scrollpage 0.5
bind <C-i> jumpnext
bind <C-o> jumpprev
bind <C-u> scrollpage -0.5
bind <C-x> urlincrement -1
bind <Escape> composite mode normal ; hidecmdline
bind <F1> help
bind <S-Escape> mode ignore
bind <S-Insert> mode ignore
bind ? fillcmdline find -?
bind A bmark
bind B fillcmdline bmarks -t
bind D composite tabprev; tabclose #
bind F hint -b
bind G scrollto 100
bind K tabnext
bind M fillcmdline winmerge
bind N findnext -1
bind O current_url open
bind P fillcmdline taball
bind R reloadhard
bind S fillcmdline_notrail tabopen https://www.merriam-webster.com/dictionary/
bind T current_url tabopen
bind W tabdetach
bind X undo
bind ZZ qall
bind [[ followpage prev
bind [c urlincrement -1
bind ]] followpage next
bind ]c urlincrement 1
bind ^ scrollto 0 x
bind a current_url bmark
bind b fillcmdline bmarks
bind d scrollline 10
bind f hint
bind g$ tablast
bind g0 tabfirst
bind g? rot13
bind gF hint -qb
bind gH home true
bind gT tabprev
bind gU urlroot
bind g^ tabfirst
bind gf viewsource
bind gg scrollto 0
bind gh home
bind gi focusinput -l
bind gr reader
bind gt tabnext_gt
bind gu urlparent
bind gx$ tabclosealltoright
bind gx0 tabclosealltoleft
bind j scrollline 1
bind k scrollline -1
bind m fillcmdline source ~/.tridactylrc
bind n findnext 1
bind o fillcmdline open
bind p fillcmdline tab
bind r reload
bind s fillcmdline_notrail open https://www.merriam-webster.com/dictionary/
bind t fillcmdline tabopen
bind u scrollline -10
unbind w
bind x tabclose
bind yc clipboard yankcanon
bind ym clipboard yankmd
bind ys clipboard yankshort
bind yy clipboard yank
bind zI zoom 3
bind zM zoom 0.5 true
bind zO zoom 0.3
bind zR zoom -0.5 true
bind zi zoom 0.1 true
bind zm zoom 0.5 true
bind zo zoom -0.1 true
bind zr zoom -0.5 true
bind zz zoom 1
bind yt clipboard yanktitle
bind <C-e> scrollline 10
bind <C-y> scrollline -10
bind h scrollpx -50
bind l scrollpx 50
bind <C-f> scrollpage 1
bind <C-b> scrollpage -1
bind <C-v> nmode ignore 1 mode normal
bind H back
bind L forward
bind << tabmove -1
bind >> tabmove +1
bind U undo window
bind g; changelistjump -1
bind J tabprev
bind ;h hint -h
bind v hint -h
bind ;a hint -a
bind ;gF hint -qb
bind g! jumble
bind ;K hint -K
" Aliases
alias fp firefoxsyncpull
alias fpp firefoxsyncpush
alias tpu tabpush
command alias command
alias au autocmd
alias aucon autocontain
alias audel autocmddelete
alias audelete autocmddelete
alias blacklistremove autocmddelete DocStart
alias b tab
alias clsh clearsearchhighlight
alias nohlsearch clearsearchhighlight
alias noh clearsearchhighlight
alias o open
alias w winopen
alias t tabopen
alias tabnew tabopen
alias tabm tabmove
alias tabo tabonly
alias tn tabnext_gt
alias bn tabnext_gt
alias tnext tabnext_gt
alias bnext tabnext_gt
alias tp tabprev
alias tN tabprev
alias bp tabprev
alias bN tabprev
alias tprev tabprev
alias bprev tabprev
alias tabfirst tab 1
alias tablast tab 0
alias bfirst tabfirst
alias blast tablast
alias tfirst tabfirst
alias tlast tablast
alias buffer tab
alias bufferall taball
alias bd tabclose
alias bdelete tabclose
alias quit tabclose
alias q tabclose
alias qa qall
alias sanitize sanitise
alias tutorial tutor
alias h help
alias unmute mute unmute
alias authors credits
alias openwith hint -W
alias ! exclaim
alias !s exclaim_quiet
alias containerremove containerdelete
alias colours colourscheme
alias colorscheme colourscheme
alias colors colourscheme
alias man help
alias !js fillcmdline_tmp 3000 !js is deprecated. Please use js instead
alias !jsb fillcmdline_tmp 3000 !jsb is deprecated. Please use jsb instead
alias get_current_url js document.location.href
alias current_url composite get_current_url | fillcmdline_notrail
alias stop js window.stop()
alias zo zoom
alias installnative nativeinstall
alias nativeupdate updatenative
alias mkt mktridactylrc
alias mkt! mktridactylrc -f
alias mktridactylrc! mktridactylrc -f
alias mpvsafe js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv ' + url))
alias exto extoptions
alias extpreferences extoptions
alias extp extpreferences
alias prefset setpref
alias prefremove removepref
alias tabclosealltoright tabcloseallto right
alias tabclosealltoleft tabcloseallto left
alias reibadailty jumble
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
" vim: set filetype=tridactyl