-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
2182 lines (2079 loc) · 130 KB
/
index.html
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
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2024-06-18 Tue 13:24 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>MEGUMACS @dotfiles @emacs</title>
<meta name="author" content="Bruno Coimbra (b-coimbra)" />
<meta name="generator" content="Org Mode" />
<style type="text/css">
#content { max-width: 60em; margin: auto; }
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #e6e6e6;
border-radius: 3px;
background-color: #f2f2f2;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: auto;
}
pre.src:before {
display: none;
position: absolute;
top: -8px;
right: 12px;
padding: 3px;
color: #555;
background-color: #f2f2f299;
}
pre.src:hover:before { display: inline; margin-top: 14px;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-authinfo::before { content: 'Authinfo'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { }
</style>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Generated by https://github.com/b-coimbra/org-scribbler-theme">
<link rel="stylesheet" type="text/css" href="https://b-coimbra.github.io/org-scribbler-theme/src/css/style.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<script src="https://b-coimbra.github.io/org-scribbler-theme/src/js/script.js" /></script>
<meta property="og:title" content="Megumacs" />
<meta property="og:type" content="website" />
<meta property="og:description" content="Doom-like emacs config" />
<meta property="og:url" content="https://emacs.metaphoric.dev" />
<meta property="og:site_name" content="metaphoric.dev" />
<meta property="og:image" content="http://emacs.metaphoric.dev/etc/banners/megumacs-icon.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="680" />
<meta property="og:image:height" content="675" />
<meta name="theme-color" content="#61122D" />
</head>
<body>
<div id="content" class="content">
<h1 class="title">MEGUMACS @dotfiles @emacs
<br />
<span class="subtitle">Doom-like emacs config with a teensy tiny bit of weeb.</span>
</h1>
<div id="table-of-contents" role="doc-toc">
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
<li><a href="#org0664075">Introduction</a></li>
<li><a href="#org55985aa">Installation</a></li>
<li><a href="#org4c98e60">Bootstrap</a>
<ul>
<li><a href="#org254962c">Globals</a></li>
<li><a href="#org9f51572">Better defaults</a></li>
<li><a href="#orgada5c11">Load <code>.custom.el</code></a></li>
<li><a href="#org15b1fd3">Load <code>config.el</code></a></li>
<li><a href="#org1213ae4">Load custom themes</a></li>
<li><a href="#org5ab1412">No littering</a></li>
<li><a href="#orgc4db1d3">Performance</a></li>
<li><a href="#org353a253">Utilities</a></li>
</ul>
</li>
<li><a href="#orgc2bb35b">Font</a>
<ul>
<li><a href="#orga417de2">Ligatures</a></li>
<li><a href="#org8605b48">Emoji</a></li>
</ul>
</li>
<li><a href="#org384adc1">Themes</a>
<ul>
<li><a href="#org5c733b7">Autothemer</a></li>
<li><a href="#org3828249">Mirwood theme</a></li>
<li><a href="#org673fb29">Kaolin themes</a></li>
<li><a href="#org4e3f862">Doom themes</a></li>
<li><a href="#org49ff0a0">Theme customization</a></li>
</ul>
</li>
<li><a href="#org3a882de">Appearance</a>
<ul>
<li><a href="#orgd9b3762">Nerd icons</a></li>
<li><a href="#org3a98439">Solaire mode</a></li>
<li><a href="#org04813e8">Rainbow-mode</a></li>
<li><a href="#org9398c0d">Rainbow delimiters</a></li>
<li><a href="#orgc0c3bf9">All the icons</a></li>
</ul>
</li>
<li><a href="#org1b53ce4">Modeline</a>
<ul>
<li><a href="#orgf5a077f">Doom-modeline</a></li>
<li><a href="#org7709497">Spaceline</a></li>
</ul>
</li>
<li><a href="#org04a9a05">Dashboard</a>
<ul>
<li><a href="#orgea8d9c1">emacs-dashboard</a></li>
</ul>
</li>
<li><a href="#org28bea12">Auto Completion</a>
<ul>
<li><a href="#orgf0cad36">Company</a></li>
<li><a href="#org5600202">company-jedi</a></li>
</ul>
</li>
<li><a href="#org99f32e5">Evil</a>
<ul>
<li><a href="#org5b0c4a7">evil-mode</a></li>
<li><a href="#orgaebee25">evil-escape</a></li>
<li><a href="#org02d60a4">evil-surround</a></li>
<li><a href="#orgb9d0145">evil-mc</a></li>
<li><a href="#orgded2c19">evil-commentary</a></li>
<li><a href="#orga167cec">evil-collection</a></li>
<li><a href="#orgb3faa63">evil-fringe-mark</a></li>
</ul>
</li>
<li><a href="#orgd60104f">Calendar</a>
<ul>
<li><a href="#org26be822">calfw</a></li>
</ul>
</li>
<li><a href="#org25ed78d">Org-mode</a>
<ul>
<li><a href="#org3c5366e">org</a></li>
<li><a href="#org4a05672">ox-reveal</a></li>
<li><a href="#org5ffdaf4">calfw-org</a></li>
<li><a href="#orgeb662a3">htmlize</a></li>
</ul>
</li>
<li><a href="#org8bfed7a">Keybindings</a>
<ul>
<li><a href="#org9f31d29">General</a></li>
<li><a href="#org7e224ae">Which-key</a></li>
</ul>
</li>
<li><a href="#orgb210f10">Source Control</a>
<ul>
<li><a href="#org10e048b">Magit</a></li>
<li><a href="#org55e6050">Git Gutter</a></li>
</ul>
</li>
<li><a href="#org7e1e8ac">Encryption</a></li>
<li><a href="#org327cf16">File Management</a>
<ul>
<li><a href="#org39d9173">Ranger</a></li>
</ul>
</li>
<li><a href="#org427d1d3">Project Management</a>
<ul>
<li><a href="#orgdacd0e1">Treemacs</a></li>
<li><a href="#orgb724432">Projectile</a></li>
<li><a href="#org272efd3">projectile/counsel</a></li>
</ul>
</li>
<li><a href="#org8b22ed9">Syntax Checking</a>
<ul>
<li><a href="#org2e9f752">Flycheck</a></li>
</ul>
</li>
<li><a href="#org667b4d0">Language Modes</a>
<ul>
<li><a href="#org7a5408c">Rust</a></li>
<li><a href="#org9ae37fb">Ruby</a></li>
<li><a href="#org55fe5f9">Javascript</a></li>
<li><a href="#org48832a0">RSJX</a></li>
<li><a href="#org1eaed47">Typescript</a></li>
<li><a href="#org6f35fee">Web</a></li>
<li><a href="#org7ff5582">Python</a></li>
</ul>
</li>
<li><a href="#org087dcef">Language Server Protocol</a>
<ul>
<li><a href="#org40ba5f4">LSP</a></li>
<li><a href="#org3f13a20">LSP-UI</a></li>
</ul>
</li>
<li><a href="#org98a8f21">Buffers and Windows</a>
<ul>
<li><a href="#org54c2ddb">Winum</a></li>
<li><a href="#orgdd19eb0">Eyebrowse</a></li>
<li><a href="#org8d99c33">windmove</a></li>
<li><a href="#orgada27ff">Focus on newly created windows</a></li>
</ul>
</li>
<li><a href="#org207e731">Navigation</a>
<ul>
<li><a href="#orgd259c52">Ivy</a></li>
<li><a href="#org0b4f183">Ivy/Counsel</a></li>
<li><a href="#orgd5aacdb">Highlight Indent Guides</a></li>
</ul>
</li>
<li><a href="#org8ee8672">Editing</a>
<ul>
<li><a href="#org5436b44">Focus</a></li>
<li><a href="#org05bd3d9">Undo-tree</a></li>
<li><a href="#org26c97af">Origami</a></li>
</ul>
</li>
<li><a href="#org53d1208">Templates</a>
<ul>
<li><a href="#org57329c5">Yasnippet</a></li>
<li><a href="#orgeade018">Yasnippet/snippets</a></li>
</ul>
</li>
<li><a href="#orgd6aa1f3">Discord Presence</a>
<ul>
<li><a href="#org19d5d9a">elcord</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org0664075" class="outline-2">
<h2 id="org0664075">Introduction</h2>
<div class="outline-text-2" id="text-org0664075">
<div class="org-center">
<div id="org2b0f6f0" class="figure">
<p><img src="./etc/banners/megumacs2.png" alt="megumacs2.png" />
</p>
</div>
</div>
<div class="org-center">
<p>
<b>[M E G U M A C S]</b>
</p>
<p>
(めぐマックス)
</p>
<p>
<a href="https://github.com/b-coimbra/.emacs.d"><b>Github</b></a> | <a href="https://emacs.metaphoric.dev/core.org"><b>Source</b></a>
</p>
</div>
<blockquote>
<p>
An infinite number of monkeys typing into GNU Emacs would never make a good program.
</p>
<p>
– Linus Torvalds
</p>
</blockquote>
</div>
</div>
<div id="outline-container-org55985aa" class="outline-2">
<h2 id="org55985aa">Installation</h2>
<div class="outline-text-2" id="text-org55985aa">
<ol class="org-ol">
<li>Clone into <b>.emacs.d</b>: <code>$ git clone https://github.com/b-coimbra/.emacs.d.git ~/.emacs.d</code></li>
<li>Install <a href="https://github.com/rainstormstudio/nerd-icons.el/">nerd-icons</a> fonts: <code>M-x nerd-icons-install-fonts</code></li>
<li>Install <a href="https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip">ligatures</a> font (<b>Fira Code Symbol</b>): <code>M-x fira-code-mode-install-fonts</code></li>
<li>Install <a href="https://github.com/googlefonts/noto-emoji">emoji font</a> (<b>Noto Emoji</b>) for Linux</li>
<li>Install <a href="https://github.com/emacs-lsp/lsp-mode#supported-languages">language servers</a> manually or with <code>M-x lsp-install-server</code></li>
</ol>
</div>
</div>
<div id="outline-container-org4c98e60" class="outline-2">
<h2 id="org4c98e60">Bootstrap</h2>
<div class="outline-text-2" id="text-org4c98e60">
</div>
<div id="outline-container-org254962c" class="outline-3">
<h3 id="org254962c">Globals</h3>
<div class="outline-text-3" id="text-org254962c">
<p>
Global variables to easily customize portions of Megumacs.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">setq</span>
globals--banner-path <span style="color: #476562;">"etc/banners/megumacs.png"</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Banner image path shown in the dashboard</span>
globals--font <span style="color: #476562;">"Fantasque Sans Mono 11"</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Font family and font size</span>
globals--theme 'mirwood <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Theme used by Emacs.</span>
globals--email <span style="color: #476562;">"[email protected]"</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Email for GPG encryption</span>
globals--leader-key <span style="color: #476562;">"<SPC>"</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Leader prefix key used for most bindings</span>
<span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org9f51572" class="outline-3">
<h3 id="org9f51572">Better defaults</h3>
<div class="outline-text-3" id="text-org9f51572">
<p>
Disable mouse and tooltips:
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">when</span> window-system
<span style="color: #93a8c6;">(</span>blink-cursor-mode 0<span style="color: #93a8c6;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Disable the cursor blinking</span>
<span style="color: #93a8c6;">(</span>scroll-bar-mode 0<span style="color: #93a8c6;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Disable the scroll bar</span>
<span style="color: #93a8c6;">(</span>tool-bar-mode 0<span style="color: #93a8c6;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Disable the tool bar</span>
<span style="color: #93a8c6;">(</span>tooltip-mode 0<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Disable the tooltips</span>
</pre>
</div>
<p>
General better defaults:
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">setq-default</span>
ad-redefinition-action 'accept <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Silence warnings for redefinition</span>
auto-window-vscroll nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Lighten vertical scroll</span>
confirm-kill-emacs 'yes-or-no-p <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Confirm before exiting Emacs</span>
cursor-in-non-selected-windows nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Hide the cursor in inactive windows</span>
delete-by-moving-to-trash t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Delete files to trash</span>
display-time-default-load-average nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Don't display load average</span>
display-time-format <span style="color: #476562;">"%H:%M"</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Format the time string</span>
fill-column 80 <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Set width for automatic line breaks</span>
help-window-select t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Focus new help windows when opened</span>
indent-tabs-mode nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Use tabs to indent</span>
inhibit-startup-screen t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Disable start-up screen</span>
initial-scratch-message <span style="color: #476562;">""</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Empty the initial *scratch* buffer</span>
mouse-yank-at-point t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Yank at point rather than pointer</span>
ns-use-srgb-colorspace nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Don't use sRGB colors</span>
select-enable-clipboard t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Merge system's and Emacs' clipboard</span>
sentence-end-double-space nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">End a sentence after a dot and a space</span>
show-help-function nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Disable help messages</span>
show-trailing-whitespace t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Display trailing whitespaces</span>
split-height-threshold nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Disable vertical window splitting</span>
split-width-threshold nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Disable horizontal window splitting</span>
tab-width 4 <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Set width for tabs</span>
uniquify-buffer-name-style 'forward <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Uniquify buffer names</span>
window-combination-resize t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Resize windows proportionally</span>
x-stretch-cursor t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Stretch cursor to the glyph width</span>
delete-old-versions -1 <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Delete excess backup versions silently</span>
version-control t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Use version control</span>
ring-bell-function 'ignore <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Silent bell when you make a mistake</span>
inhibit-compacting-font-caches t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Faster navigation point (costs more memory)</span>
recentf-mode t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Keep recent files</span>
make-backup-files nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Stop creating backup files</span>
display-line-numbers-type 'relative <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Use relative line numbers</span>
vc-follow-symlinks t <span style="color: #423a35;">; </span><span style="color: #7c6f64;">When the symlink points to a version-controlled file</span>
use-default-font-for-symbols nil <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Do not use the frame font when rendering emojis</span>
frame-inhibit-implied-resize nil<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Don't ask for confirmation when opening symlinked file</span>
<span style="color: #8c8c8c;">(</span>cd <span style="color: #476562;">"~/"</span><span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Move to the user directory</span>
<span style="color: #8c8c8c;">(</span>global-display-line-numbers-mode t<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Enable line numbers globally</span>
<span style="color: #8c8c8c;">(</span>delete-selection-mode 1<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Replace region when inserting text</span>
<span style="color: #8c8c8c;">(</span>display-time-mode 1<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Enable time in the mode-line</span>
<span style="color: #8c8c8c;">(</span>global-auto-revert-mode 1<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Automatically revert a buffer when it changes on disk</span>
<span style="color: #8c8c8c;">(</span>fringe-mode '<span style="color: #93a8c6;">(</span>8 . 0<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Enable fringe on the left for git-gutter-fringe+</span>
<span style="color: #8c8c8c;">(</span>electric-pair-mode t<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Enable Matching delimeters</span>
<span style="color: #8c8c8c;">(</span>electric-indent-mode t<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Auto indentation</span>
<span style="color: #8c8c8c;">(</span>fset 'yes-or-no-p 'y-or-n-p<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Replace yes/no prompts with y/n</span>
<span style="color: #8c8c8c;">(</span>global-subword-mode 1<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Iterate through CamelCase words</span>
<span style="color: #8c8c8c;">(</span>menu-bar-mode 0<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Disable the menu bar</span>
<span style="color: #8c8c8c;">(</span>mouse-avoidance-mode 'jump<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Avoid collision of mouse with point</span>
<span style="color: #8c8c8c;">(</span>put 'downcase-region 'disabled nil<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Enable downcase-region</span>
<span style="color: #8c8c8c;">(</span>put 'upcase-region 'disabled nil<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Enable upcase-region</span>
<span style="color: #8c8c8c;">(</span>show-paren-mode 1<span style="color: #8c8c8c;">)</span> <span style="color: #423a35;">; </span><span style="color: #7c6f64;">Highlight matching parenthesis</span>
</pre>
</div>
<p>
Enable fullscreen.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">if</span> <span style="color: #93a8c6;">(</span>eq window-system 'ns<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>toggle-frame-maximized<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>toggle-frame-fullscreen<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
<p>
Garbage collection on focus-out, Emacs <i>should</i> feel snappier.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span>add-hook 'focus-out-hook #'garbage-collect<span style="color: #8c8c8c;">)</span>
</pre>
</div>
<p>
Remove trailing whitespace on save:
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span>add-hook 'before-save-hook 'delete-trailing-whitespace<span style="color: #8c8c8c;">)</span>
</pre>
</div>
<p>
Default to utf-8 encoding.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span>set-default-coding-systems 'utf-8<span style="color: #8c8c8c;">)</span>
<span style="color: #8c8c8c;">(</span>set-language-environment <span style="color: #476562;">"UTF-8"</span><span style="color: #8c8c8c;">)</span>
<span style="color: #8c8c8c;">(</span>prefer-coding-system 'utf-8<span style="color: #8c8c8c;">)</span>
<span style="color: #8c8c8c;">(</span>set-terminal-coding-system 'utf-8<span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgada5c11" class="outline-3">
<h3 id="orgada5c11">Load <code>.custom.el</code></h3>
<div class="outline-text-3" id="text-orgada5c11">
<p>
One is able to use the customization interface that is bundled within Emacs. It
is meant to help people who are not familiar with Emacs Lisp in the
configuration of Emacs itself. By default, changes in the customization will be
automatically detected and appended at the end of the configuration file,
<code>init.el</code>.
</p>
<p>
Since that in my case, the actual configuration file is a new one, crafted by
<code>org-mode</code>, adding code at the end of <code>init.el</code> might mess things up. The
following tells Emacs to add extra code in another file that would be then
loaded, if existing.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">setq-default</span> custom-file <span style="color: #93a8c6;">(</span>expand-file-name <span style="color: #476562;">"etc/.custom.el"</span> user-emacs-directory<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
<span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">when</span> <span style="color: #93a8c6;">(</span>file-exists-p custom-file<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>load custom-file<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org15b1fd3" class="outline-3">
<h3 id="org15b1fd3">Load <code>config.el</code></h3>
<div class="outline-text-3" id="text-org15b1fd3">
<p>
Whenever the base <code>core.org</code> file is updated, all the custom user settings are wiped out.
</p>
<p>
To prevent this, the user may define permanent settings in the <code>config.org</code> file.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">setq-default</span> userconfig-file <span style="color: #93a8c6;">(</span>expand-file-name <span style="color: #476562;">"config.el"</span> user-emacs-directory<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
<span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">when</span> <span style="color: #93a8c6;">(</span>file-exists-p userconfig-file<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>load userconfig-file<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org1213ae4" class="outline-3">
<h3 id="org1213ae4">Load custom themes</h3>
<div class="outline-text-3" id="text-org1213ae4">
<p>
Custom themes location.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span>add-to-list 'custom-theme-load-path <span style="color: #93a8c6;">(</span>expand-file-name <span style="color: #476562;">"etc/themes/"</span> user-emacs-directory<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org5ab1412" class="outline-3">
<h3 id="org5ab1412">No littering</h3>
<div class="outline-text-3" id="text-org5ab1412">
<p>
Keep <code>~/.emacs.d</code> clean.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">no-littering</span>
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:demand</span> t<span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc4db1d3" class="outline-3">
<h3 id="orgc4db1d3">Performance</h3>
<div class="outline-text-3" id="text-orgc4db1d3">
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">gcmh</span>
<span style="color: #fe8019;">:demand</span> t
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:config</span>
<span style="color: #93a8c6;">(</span>gcmh-mode 1<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org353a253" class="outline-3">
<h3 id="org353a253">Utilities</h3>
<div class="outline-text-3" id="text-org353a253">
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">defun</span> <span style="color: #777777;">open-config-file</span> <span style="color: #93a8c6;">()</span>
<span style="color: #93a8c6;">(</span><span style="color: #cc6666; font-weight: bold;">interactive</span><span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>find-file <span style="color: #b0b1a3;">(</span>expand-file-name <span style="color: #476562;">"core.org"</span> user-emacs-directory<span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgc2bb35b" class="outline-2">
<h2 id="orgc2bb35b">Font</h2>
<div class="outline-text-2" id="text-orgc2bb35b">
<p>
Font family used by Emacs.
</p>
<p>
Nice looking fonts:
</p>
<ul class="org-ul">
<li><a href="https://github.com/be5invis/Iosevka">Iosevka</a> (size 12)</li>
<li><a href="https://github.com/tonsky/FiraCode">Fira Code</a> (size 12)</li>
<li><a href="https://github.com/belluzj/fantasque-sans">Fantasque Sans</a> (size 11)</li>
<li><a href="https://www.jetbrains.com/lp/mono/">JetBrains Mono</a> (size 10, 11)</li>
</ul>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span>set-face-attribute 'default nil <span style="color: #fe8019;">:font</span> globals--font<span style="color: #8c8c8c;">)</span>
<span style="color: #8c8c8c;">(</span>set-frame-font globals--font nil t<span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
<div id="outline-container-orga417de2" class="outline-3">
<h3 id="orga417de2">Ligatures</h3>
<div class="outline-text-3" id="text-orga417de2">
<p>
Rip off <b>only</b> the ligatures from the Fira Code font using the <a href="https://github.com/jming422/fira-code-mode">fira-code-mode</a> minor mode.
</p>
<p>
Requires installation of the <a href="https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip">Fira Code Regular Symbol</a> font with <code>M-x fira-code-mode-install-fonts</code>
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">fira-code-mode</span>
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:demand</span> t
<span style="color: #fe8019;">:hook</span> prog-mode
<span style="color: #fe8019;">:custom</span> <span style="color: #93a8c6;">(</span>fira-code-mode-disabled-ligatures '<span style="color: #b0b1a3;">(</span><span style="color: #476562;">"[]"</span> <span style="color: #476562;">":"</span> <span style="color: #476562;">"x"</span><span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span>
<span style="color: #fe8019;">:config</span> <span style="color: #93a8c6;">(</span>fira-code-mode-set-font<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org8605b48" class="outline-3">
<h3 id="org8605b48">Emoji</h3>
<div class="outline-text-3" id="text-org8605b48">
<p>
Set up emoji rendering, requires installation of the <a href="https://github.com/googlefonts/noto-emoji">Noto Emoji</a> font for Linux.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #423a35;">;; </span><span style="color: #7c6f64;">Default Windows emoji font</span>
<span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">when</span> <span style="color: #93a8c6;">(</span>member <span style="color: #476562;">"Segoe UI Emoji"</span> <span style="color: #b0b1a3;">(</span>font-family-list<span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>set-fontset-font t 'symbol <span style="color: #b0b1a3;">(</span>font-spec <span style="color: #fe8019;">:family</span> <span style="color: #476562;">"Segoe UI Emoji"</span><span style="color: #b0b1a3;">)</span> nil 'prepend<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>set-fontset-font <span style="color: #476562;">"fontset-default"</span> '<span style="color: #b0b1a3;">(</span>#xFE00 . #xFE0F<span style="color: #b0b1a3;">)</span> <span style="color: #476562;">"Segoe UI Emoji"</span><span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
<span style="color: #423a35;">;; </span><span style="color: #7c6f64;">Linux emoji font</span>
<span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">when</span> <span style="color: #93a8c6;">(</span>member <span style="color: #476562;">"Noto Color Emoji"</span> <span style="color: #b0b1a3;">(</span>font-family-list<span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>set-fontset-font t 'symbol <span style="color: #b0b1a3;">(</span>font-spec <span style="color: #fe8019;">:family</span> <span style="color: #476562;">"Noto Color Emoji"</span><span style="color: #b0b1a3;">)</span> nil 'prepend<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>set-fontset-font <span style="color: #476562;">"fontset-default"</span> '<span style="color: #b0b1a3;">(</span>#xFE00 . #xFE0F<span style="color: #b0b1a3;">)</span> <span style="color: #476562;">"Noto Color Emoji"</span><span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org384adc1" class="outline-2">
<h2 id="org384adc1">Themes</h2>
<div class="outline-text-2" id="text-org384adc1">
</div>
<div id="outline-container-org5c733b7" class="outline-3">
<h3 id="org5c733b7"><a href="https://github.com/jasonm23/autothemer">Autothemer</a></h3>
<div class="outline-text-3" id="text-org5c733b7">
<p>
Conveniently create Emacs themes.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">autothemer</span>
<span style="color: #fe8019;">:straight</span> t<span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org3828249" class="outline-3">
<h3 id="org3828249"><a href="https://github.com/b-coimbra/emacs-mirwood-theme">Mirwood theme</a></h3>
<div class="outline-text-3" id="text-org3828249">
<p>
A pleaseant theme with earthy colors.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span>straight-use-package
'<span style="color: #93a8c6;">(</span>emacs-mirwood-theme <span style="color: #fe8019;">:type</span> git <span style="color: #fe8019;">:host</span> github
<span style="color: #fe8019;">:repo</span> <span style="color: #476562;">"b-coimbra/emacs-mirwood-theme"</span><span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org673fb29" class="outline-3">
<h3 id="org673fb29"><a href="https://github.com/ogdenwebb/emacs-kaolin-themes">Kaolin themes</a></h3>
<div class="outline-text-3" id="text-org673fb29">
<p>
Set of eye pleasing themes for GNU Emacs. Supports both GUI and terminal.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">kaolin-themes</span>
<span style="color: #fe8019;">:defer</span> 5
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:custom</span>
<span style="color: #93a8c6;">(</span>kaolin-themes-bold t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>kaolin-themes-italic t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>kaolin-themes-underline t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>kaolin-themes-distinct-company-scrollbar t<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org4e3f862" class="outline-3">
<h3 id="org4e3f862"><a href="https://github.com/hlissner/emacs-doom-themes">Doom themes</a></h3>
<div class="outline-text-3" id="text-org4e3f862">
<p>
An opinionated pack of modern color-themes
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">doom-themes</span>
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:demand</span> t
<span style="color: #fe8019;">:custom</span>
<span style="color: #93a8c6;">(</span>doom-themes-enable-bold t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-themes-enable-italic t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-themes-treemacs-enable-variable-pitch nil<span style="color: #93a8c6;">)</span>
<span style="color: #fe8019;">:config</span>
<span style="color: #93a8c6;">(</span>load-theme globals--theme t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-themes-treemacs-config<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org49ff0a0" class="outline-3">
<h3 id="org49ff0a0">Theme customization</h3>
<div class="outline-text-3" id="text-org49ff0a0">
<p>
Persistent theme customization.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span>set-face-attribute 'font-lock-keyword-face nil <span style="color: #fe8019;">:weight</span> 'bold<span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org3a882de" class="outline-2">
<h2 id="org3a882de">Appearance</h2>
<div class="outline-text-2" id="text-org3a882de">
</div>
<div id="outline-container-orgd9b3762" class="outline-3">
<h3 id="orgd9b3762"><a href="https://github.com/rainstormstudio/nerd-icons.el">Nerd icons</a></h3>
<div class="outline-text-3" id="text-orgd9b3762">
<p>
Adds fancy icons to emacs.
</p>
<p>
<a href="https://www.nerdfonts.com/cheat-sheet">Cheat sheet</a>
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">nerd-icons</span>
<span style="color: #fe8019;">:straight</span> t<span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org3a98439" class="outline-3">
<h3 id="org3a98439"><a href="https://github.com/hlissner/emacs-solaire-mode">Solaire mode</a></h3>
<div class="outline-text-3" id="text-org3a98439">
<p>
Gives other windows slightly different background colors (brightness).
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">solaire-mode</span>
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:hook</span> <span style="color: #93a8c6;">(</span>after-init . solaire-global-mode<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org04813e8" class="outline-3">
<h3 id="org04813e8"><a href="https://elpa.gnu.org/packages/rainbow-mode.html">Rainbow-mode</a></h3>
<div class="outline-text-3" id="text-org04813e8">
<p>
Colorize color names in buffers.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">rainbow-mode</span>
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:hook</span> prog-mode
<span style="color: #fe8019;">:config</span>
<span style="color: #93a8c6;">(</span>rainbow-mode<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org9398c0d" class="outline-3">
<h3 id="org9398c0d"><a href="https://github.com/Fanael/rainbow-delimiters">Rainbow delimiters</a></h3>
<div class="outline-text-3" id="text-org9398c0d">
<p>
"Rainbow parentheses"-like mode which highlights delimiters such as parentheses, brackets or braces according to their depth.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">rainbow-delimiters</span>
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:hook</span> <span style="color: #93a8c6;">(</span>prog-mode . rainbow-delimiters-mode<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc0c3bf9" class="outline-3">
<h3 id="orgc0c3bf9"><a href="https://github.com/domtronn/all-the-icons.el">All the icons</a></h3>
<div class="outline-text-3" id="text-orgc0c3bf9">
<p>
A utility package to collect various Icon Fonts and propertize them within Emacs.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">all-the-icons</span>
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:if</span> <span style="color: #93a8c6;">(</span>display-graphic-p<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org1b53ce4" class="outline-2">
<h2 id="org1b53ce4">Modeline</h2>
<div class="outline-text-2" id="text-org1b53ce4">
</div>
<div id="outline-container-orgf5a077f" class="outline-3">
<h3 id="orgf5a077f"><a href="https://github.com/seagle0128/doom-modeline">Doom-modeline</a></h3>
<div class="outline-text-3" id="text-orgf5a077f">
<p>
A fancy and fast mode-line inpsired by minimalism design.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">doom-modeline</span>
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:init</span> <span style="color: #93a8c6;">(</span>doom-modeline-mode<span style="color: #93a8c6;">)</span>
<span style="color: #fe8019;">:custom</span>
<span style="color: #93a8c6;">(</span>doom-modeline-major-mode-icon nil<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-modeline-major-mode-color-icon nil<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-modeline-icon <span style="color: #b0b1a3;">(</span>display-graphic-p<span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-modeline-modal-modern-icon nil<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-modeline-buffer-modification-icon nil<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-modeline-flycheck-icon nil<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-modeline-checker-simple-format t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-modeline-buffer-encoding nil<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>doom-modeline-height 35<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org7709497" class="outline-3">
<h3 id="org7709497"><a href="https://github.com/TheBB/spaceline">Spaceline</a></h3>
<div class="outline-text-3" id="text-org7709497">
<p>
Powerline theme from Spacemacs.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">spaceline</span>
<span style="color: #fe8019;">:disabled</span> t
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:init</span>
<span style="color: #93a8c6;">(</span><span style="color: #cc6666; font-weight: bold;">progn</span>
<span style="color: #b0b1a3;">(</span><span style="color: #cc6666; font-weight: bold;">setq</span> spaceline-highlight-face-func 'spaceline-highlight-face-evil-state<span style="color: #b0b1a3;">)</span>
<span style="color: #b0b1a3;">(</span><span style="color: #cc6666; font-weight: bold;">setq-default</span> powerline-default-separator 'slant<span style="color: #b0b1a3;">)</span>
<span style="color: #93a8c6;">)</span>
<span style="color: #fe8019;">:config</span>
<span style="color: #93a8c6;">(</span>spaceline-emacs-theme<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span><span style="color: #cc6666; font-weight: bold;">setq</span> spaceline-buffer-encoding-abbrev-p nil
spaceline-workspace-number-p t
spaceline-window-numbers-unicode nil
spaceline-version-control-p nil
spaceline-minor-modes-p nil
spaceline-major-mode-p nil
spaceline-buffer-size-p t
spaceline-window-number-p t
spaceline-buffer-id-p t
spaceline-bufFer-size-p t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>powerline-reset<span style="color: #93a8c6;">)</span><span style="color: #8c8c8c;">)</span>
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org04a9a05" class="outline-2">
<h2 id="org04a9a05">Dashboard</h2>
<div class="outline-text-2" id="text-org04a9a05">
</div>
<div id="outline-container-orgea8d9c1" class="outline-3">
<h3 id="orgea8d9c1"><a href="https://github.com/emacs-dashboard/emacs-dashboard">emacs-dashboard</a></h3>
<div class="outline-text-3" id="text-orgea8d9c1">
<p>
An extensible emacs startup screen showing you what’s most important.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp"><span style="color: #8c8c8c;">(</span><span style="color: #cc6666; font-weight: bold;">use-package</span> <span style="color: #d3869b;">dashboard</span>
<span style="color: #fe8019;">:straight</span> t
<span style="color: #fe8019;">:demand</span> t
<span style="color: #fe8019;">:init</span>
<span style="color: #93a8c6;">(</span>add-hook 'dashboard-mode-hook <span style="color: #b0b1a3;">(</span><span style="color: #cc6666; font-weight: bold;">lambda</span> <span style="color: #97b098;">()</span> <span style="color: #97b098;">(</span><span style="color: #cc6666; font-weight: bold;">setq</span> show-trailing-whitespace nil<span style="color: #97b098;">)</span><span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span>
<span style="color: #fe8019;">:custom</span>
<span style="color: #93a8c6;">(</span>dashboard-banner-logo-title <span style="color: #476562;">"[M E G U M A C S]"</span><span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>dashboard-startup-banner <span style="color: #b0b1a3;">(</span>expand-file-name globals--banner-path user-emacs-directory<span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>dashboard-footer-messages '<span style="color: #b0b1a3;">(</span><span style="color: #476562;">"EXPLOOOOOOOOOOSIONNN!"</span><span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>dashboard-footer-icon <span style="color: #b0b1a3;">(</span>nerd-icons-wicon <span style="color: #476562;">"nf-weather-meteor"</span> <span style="color: #fe8019;">:height</span> 1.5 <span style="color: #fe8019;">:v-adjust</span> 0.0 <span style="color: #fe8019;">:face</span> 'font-lock-keyword-face<span style="color: #b0b1a3;">)</span><span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>dashboard-center-content t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>dashboard-set-heading-icons t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>dashboard-set-file-icons t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>dashboard-set-navigator t<span style="color: #93a8c6;">)</span>
<span style="color: #93a8c6;">(</span>dashboard-navigator-buttons