-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path20220208143702-install_doom_emacs.html
162 lines (162 loc) · 3.92 KB
/
20220208143702-install_doom_emacs.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<meta name="author" content="Niclas Schult" />
<title>Install Doom Emacs</title>
<style type="text/css">
html {
line-height: 1.7;
font-family: Georgia, serif;
font-size: 20px;
color: #1a1a1a;
background-color: #fdfdfd;
}
body {
margin: 0 auto;
max-width: 40em;
padding-left: 50px;
padding-right: 50px;
padding-top: 50px;
padding-bottom: 50px;
hyphens: auto;
word-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
@media (max-width: 600px) {
body {
font-size: 0.9em;
padding: 1em;
}
}
@media print {
body {
background-color: transparent;
color: black;
}
p, h2, h3 {
orphans: 3;
widows: 3;
}
h2, h3, h4 {
page-break-after: avoid;
}
}
p {
margin-top: 1.7em;
}
a {
color: #1a1a1a;
}
a:visited {
color: #1a1a1a;
}
img {
max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 1.7em;
}
ol, ul {
padding-left: 1.7em;
margin-top: 1.7em;
}
li > ol, li > ul {
margin-top: 0;
}
blockquote {
margin: 1.7em 0 1.7em 1.7em;
padding-left: 1em;
border-left: 2px solid #e6e6e6;
font-style: italic;
}
code {
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
background-color: #f0f0f0;
font-size: 85%;
margin: 0;
padding: .2em .4em;
}
pre {
line-height: 1.5em;
padding: 1em;
background-color: #f0f0f0;
overflow: auto;
}
pre code {
padding: 0;
overflow: visible;
}
hr {
background-color: #1a1a1a;
border: none;
height: 1px;
margin-top: 1.7em;
}
table {
border-collapse: collapse;
width: 100%;
overflow-x: auto;
display: block;
}
th, td {
border-bottom: 1px solid lightgray;
padding: 1em 3em 1em 0;
}
header {
margin-bottom: 6em;
text-align: center;
}
nav a:not(:hover) {
text-decoration: none;
}
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
</style>
</head>
<body>
<div id="header">
<h1 class="title">Install Doom Emacs</h1>
<h2 class="author">Niclas Schult</h2>
</div>
<ol>
<li><p>Install Emacs (>=27)</p></li>
<li><p>Install Doom Emacs</p>
<ul>
<li><p>Prerequisites</p>
<ul>
<li>Git 2.23+</li>
<li>Emacs 27.1+ (27.2 is recommended, or native-comp).</li>
<li>ripgrep 11.0+</li>
<li>GNU find</li>
<li>OPTIONAL: fd 7.3.0+ (improves file indexing performance for some commands)</li>
</ul></li>
<li><p><a href="https://github.com/hlissner/doom-emacs">https://github.com/hlissner/doom-emacs</a></p>
<pre class="shell"><code>git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install
</code></pre></li>
</ul></li>
<li><p>Add Doom to your PATH add ~/.emacs.d/bin to your PATH</p>
<ul>
<li><p>Put</p>
<pre class="shell"><code>export PATH=$HOME/.emacs.d/bin:$PATH
</code></pre>
<p>at the end of your .zshrc</p></li>
</ul></li>
<li><p>Copy custom config to your doom dir (~/.doom.d/)</p>
<ul>
<li>If you use my config, you need to update paths and directories!</li>
</ul></li>
<li><p>Run</p>
<pre class="shell"><code>doom sync
</code></pre></li>
</ol>
</body>
</html>