commit f059572585eb512980ddf5d9ee17843e395e5112
parent 4e834c620d870664166a406157a13b3d9af132da
Author: Cem Keylan <cem@ckyln.com>
Date: Thu, 2 Apr 2020 02:30:23 +0300
change clone option
Diffstat:
M | init.html | | | 302 | ++++++++++++++++++++++++++++++++++++++++++------------------------------------- |
M | init.org | | | 10 | ++++++++++ |
2 files changed, 169 insertions(+), 143 deletions(-)
diff --git a/init.html b/init.html
@@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
-<!-- 2020-04-01 Wed 13:23 -->
+<!-- 2020-04-02 Thu 02:30 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Emacs Configuration</title>
@@ -222,63 +222,63 @@
<div id="content">
<h1 class="title">Emacs Configuration</h1>
-<div id="outline-container-orge6bf1b9" class="outline-2">
-<h2 id="orge6bf1b9"><span class="section-number-2">1</span> Table of Contents   <span class="tag"><span class="TOC_2_org">TOC_2_org</span></span></h2>
+<div id="outline-container-org41ef623" class="outline-2">
+<h2 id="org41ef623"><span class="section-number-2">1</span> Table of Contents   <span class="tag"><span class="TOC_2_org">TOC_2_org</span></span></h2>
<div class="outline-text-2" id="text-1">
<ul class="org-ul">
-<li><a href="#orgdec0c7a">Intro</a>
+<li><a href="#org87f1088">Intro</a>
<ul class="org-ul">
-<li><a href="#org8042c9c">Installation Instructions</a></li>
-<li><a href="#org2568e74">Ignoring init.el changes on Git</a></li>
-<li><a href="#orge788d46">Meta</a></li>
-<li><a href="#org5aabeeb">Attribution</a></li>
+<li><a href="#org7c0c5a0">Installation Instructions</a></li>
+<li><a href="#orgb4fd2da">Ignoring init.el changes on Git</a></li>
+<li><a href="#org17b3129">Meta</a></li>
+<li><a href="#org264ec0c">Attribution</a></li>
</ul></li>
-<li><a href="#orge73f93a">Startup Settings</a>
+<li><a href="#orgc127f2a">Startup Settings</a>
<ul class="org-ul">
-<li><a href="#org5ffe37b">Declutter</a></li>
-<li><a href="#org77b6724">Package management</a></li>
-<li><a href="#org15f34ce">Custom-file</a></li>
-<li><a href="#orgb8a05f2">Private file</a></li>
-<li><a href="#org9350afa">Starting the server</a></li>
+<li><a href="#org9a8fcbb">Declutter</a></li>
+<li><a href="#org2ce047a">Package management</a></li>
+<li><a href="#org1734246">Custom-file</a></li>
+<li><a href="#org48ba1cf">Private file</a></li>
+<li><a href="#org6705e2e">Starting the server</a></li>
</ul></li>
-<li><a href="#orge1f01d9">Packages</a>
+<li><a href="#orga6db268">Packages</a>
<ul class="org-ul">
-<li><a href="#orgcaf9616">Evil-mode</a></li>
-<li><a href="#orgddccd2b">Org-mode</a></li>
-<li><a href="#org74bdb8c">Magit</a></li>
-<li><a href="#org3ba81b9">Flycheck</a></li>
-<li><a href="#org916d0d0">Company Mode</a></li>
-<li><a href="#org3fe8343">Mingus</a></li>
-<li><a href="#org2ec49b4">Projectile</a></li>
-<li><a href="#org9750c92">Treemacs</a></li>
-<li><a href="#org5adcd61">emacs-dashboard</a></li>
-<li><a href="#org918a97f">Extras</a></li>
+<li><a href="#org564e468">Evil-mode</a></li>
+<li><a href="#org6f0eed6">Org-mode</a></li>
+<li><a href="#orgd9a704e">Magit</a></li>
+<li><a href="#orgff09bf4">Flycheck</a></li>
+<li><a href="#org0af1538">Company Mode</a></li>
+<li><a href="#org10d6c30">Mingus</a></li>
+<li><a href="#orgf2ebcbb">Projectile</a></li>
+<li><a href="#orgfa4cc86">Treemacs</a></li>
+<li><a href="#orgb0b35e4">emacs-dashboard</a></li>
+<li><a href="#org71bce10">Extras</a></li>
</ul></li>
-<li><a href="#orgc6d5e65">Themes and Icons</a></li>
-<li><a href="#orgeb60f9f">Filetype Configurations</a>
+<li><a href="#org749236e">Themes and Icons</a></li>
+<li><a href="#orgb6e7f17">Filetype Configurations</a>
<ul class="org-ul">
-<li><a href="#org8e705db">Default Formatting</a></li>
-<li><a href="#org8c0a013">Markdown</a></li>
-<li><a href="#org2f68d82">Shell</a></li>
-<li><a href="#orgc70995b">Python</a></li>
+<li><a href="#orgf947b39">Default Formatting</a></li>
+<li><a href="#orgb4458cd">Markdown</a></li>
+<li><a href="#org3f7a3ce">Shell</a></li>
+<li><a href="#org3937ebd">Python</a></li>
</ul></li>
-<li><a href="#orgd64f2f0">Other Settings</a>
+<li><a href="#org69ec650">Other Settings</a>
<ul class="org-ul">
-<li><a href="#org954f061">Dired – ls dired</a></li>
-<li><a href="#org811e538">Coding System for Terminal</a></li>
-<li><a href="#org291c9ae">Backup Options</a></li>
-<li><a href="#orge25b9bd">Set Browser</a></li>
+<li><a href="#org54ac8be">Dired – ls dired</a></li>
+<li><a href="#org62594fd">Coding System for Terminal</a></li>
+<li><a href="#orgd6b732c">Backup Options</a></li>
+<li><a href="#org8699587">Set Browser</a></li>
</ul></li>
-<li><a href="#orgc42cada">Notes</a>
+<li><a href="#org02a634d">Notes</a>
<ul class="org-ul">
-<li><a href="#org371b163">Reverting to package.el</a></li>
+<li><a href="#org8b368e7">Reverting to package.el</a></li>
</ul></li>
</ul>
</div>
</div>
-<div id="outline-container-orgdec0c7a" class="outline-2">
-<h2 id="orgdec0c7a"><span class="section-number-2">2</span> Intro</h2>
+<div id="outline-container-org87f1088" class="outline-2">
+<h2 id="org87f1088"><span class="section-number-2">2</span> Intro</h2>
<div class="outline-text-2" id="text-2">
<p>
This is my emacs configuration file, I used to have a big
@@ -294,8 +294,8 @@ might not want on your own setup.
</p>
</div>
-<div id="outline-container-org8042c9c" class="outline-3">
-<h3 id="org8042c9c"><span class="section-number-3">2.1</span> Installation Instructions</h3>
+<div id="outline-container-org7c0c5a0" class="outline-3">
+<h3 id="org7c0c5a0"><span class="section-number-3">2.1</span> Installation Instructions</h3>
<div class="outline-text-3" id="text-2-1">
<p>
If you want to use my emacs configuration, it is pretty simple
@@ -322,8 +322,8 @@ emacs after the initial configuration is done.
</div>
</div>
-<div id="outline-container-org2568e74" class="outline-3">
-<h3 id="org2568e74"><span class="section-number-3">2.2</span> Ignoring init.el changes on Git</h3>
+<div id="outline-container-orgb4fd2da" class="outline-3">
+<h3 id="orgb4fd2da"><span class="section-number-3">2.2</span> Ignoring init.el changes on Git</h3>
<div class="outline-text-3" id="text-2-2">
<p>
It can be annoying to see whenever you change your init.org
@@ -338,8 +338,8 @@ this by doing
</div>
</div>
-<div id="outline-container-orge788d46" class="outline-3">
-<h3 id="orge788d46"><span class="section-number-3">2.3</span> Meta</h3>
+<div id="outline-container-org17b3129" class="outline-3">
+<h3 id="org17b3129"><span class="section-number-3">2.3</span> Meta</h3>
<div class="outline-text-3" id="text-2-3">
<p>
To load init.el properly we run a function such as this.
@@ -362,8 +362,8 @@ To load init.el properly we run a function such as this.
</div>
</div>
-<div id="outline-container-org5aabeeb" class="outline-3">
-<h3 id="org5aabeeb"><span class="section-number-3">2.4</span> Attribution</h3>
+<div id="outline-container-org264ec0c" class="outline-3">
+<h3 id="org264ec0c"><span class="section-number-3">2.4</span> Attribution</h3>
<div class="outline-text-3" id="text-2-4">
<p>
I am still relatively new to the emacs environment myself. These are
@@ -384,8 +384,8 @@ file to manage my Emacs configuration. <a href="https://github.com/larstvei/dot-
</div>
</div>
-<div id="outline-container-orge73f93a" class="outline-2">
-<h2 id="orge73f93a"><span class="section-number-2">3</span> Startup Settings</h2>
+<div id="outline-container-orgc127f2a" class="outline-2">
+<h2 id="orgc127f2a"><span class="section-number-2">3</span> Startup Settings</h2>
<div class="outline-text-2" id="text-3">
<p>
The most important stuff are (for me) is <code>use-package</code> and
@@ -394,8 +394,8 @@ bars and menus. Also let's disable the splash screen.
</p>
</div>
-<div id="outline-container-org5ffe37b" class="outline-3">
-<h3 id="org5ffe37b"><span class="section-number-3">3.1</span> Declutter</h3>
+<div id="outline-container-org9a8fcbb" class="outline-3">
+<h3 id="org9a8fcbb"><span class="section-number-3">3.1</span> Declutter</h3>
<div class="outline-text-3" id="text-3-1">
<div class="org-src-container">
<pre class="src src-emacs-lisp">(menu-bar-mode 0)
@@ -417,8 +417,8 @@ defined, and, if they are, will set them to 0.
</div>
</div>
-<div id="outline-container-org77b6724" class="outline-3">
-<h3 id="org77b6724"><span class="section-number-3">3.2</span> Package management</h3>
+<div id="outline-container-org2ce047a" class="outline-3">
+<h3 id="org2ce047a"><span class="section-number-3">3.2</span> Package management</h3>
<div class="outline-text-3" id="text-3-2">
<p>
I have switched to straight.el for package management.
@@ -441,14 +441,30 @@ to install itself.
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
+(<span style="color: #51afef;">require</span> '<span style="color: #a991f1;">straight</span>)
</pre>
</div>
</div>
-<div id="outline-container-org9f6aac7" class="outline-4">
-<h4 id="org9f6aac7"><span class="section-number-4">3.2.1</span> use-package</h4>
+<div id="outline-container-org1a1916a" class="outline-4">
+<h4 id="org1a1916a"><span class="section-number-4">3.2.1</span> Straight default configurations</h4>
<div class="outline-text-4" id="text-3-2-1">
<p>
+I don't want straight to do complete clones of the package repositories I
+am building from.
+</p>
+
+<div class="org-src-container">
+<pre class="src src-emacs-lisp">(<span style="color: #51afef;">setq</span> straight-vc-git-default-clone-depth 1)
+</pre>
+</div>
+</div>
+</div>
+
+<div id="outline-container-org1611ba2" class="outline-4">
+<h4 id="org1611ba2"><span class="section-number-4">3.2.2</span> use-package</h4>
+<div class="outline-text-4" id="text-3-2-2">
+<p>
We need use-package for maintaining other packages.
</p>
@@ -461,8 +477,8 @@ We need use-package for maintaining other packages.
</div>
</div>
-<div id="outline-container-org15f34ce" class="outline-3">
-<h3 id="org15f34ce"><span class="section-number-3">3.3</span> Custom-file</h3>
+<div id="outline-container-org1734246" class="outline-3">
+<h3 id="org1734246"><span class="section-number-3">3.3</span> Custom-file</h3>
<div class="outline-text-3" id="text-3-3">
<p>
I don't like custom variables on my init.el, I prefer having it on
@@ -486,8 +502,8 @@ Let's load the custom-file if it is there
</div>
</div>
-<div id="outline-container-orgb8a05f2" class="outline-3">
-<h3 id="orgb8a05f2"><span class="section-number-3">3.4</span> Private file</h3>
+<div id="outline-container-org48ba1cf" class="outline-3">
+<h3 id="org48ba1cf"><span class="section-number-3">3.4</span> Private file</h3>
<div class="outline-text-3" id="text-3-4">
<p>
Let's load a private file if it exists
@@ -503,15 +519,15 @@ Let's load a private file if it exists
</div>
</div>
</div>
-<div id="outline-container-org9350afa" class="outline-3">
-<h3 id="org9350afa"><span class="section-number-3">3.5</span> Starting the server</h3>
+<div id="outline-container-org6705e2e" class="outline-3">
+<h3 id="org6705e2e"><span class="section-number-3">3.5</span> Starting the server</h3>
<div class="outline-text-3" id="text-3-5">
<p>
I used to have an alias for running emacsclient, now I
use a tiny script for it.
</p>
<div class="org-src-container">
-<pre class="src src-sh" id="orgdd5c93b"><span style="color: #62686E;">#</span><span style="color: #62686E;">!/bin/</span><span style="color: #51afef;">sh</span>
+<pre class="src src-sh" id="org47ab22b"><span style="color: #62686E;">#</span><span style="color: #62686E;">!/bin/</span><span style="color: #51afef;">sh</span>
<span style="color: #DFDFDF;">EMACSCLIENT_EXTRA_OPTIONS</span>=<span style="color: #7bc275;">"${EMACSCLIENT_EXTRA_OPTIONS}"</span>
tty >/dev/null 2>&1 && <span style="color: #DFDFDF;">EMACSCLIENT_EXTRA_OPTIONS</span>=<span style="color: #7bc275;">"$EMACSCLIENT_EXTRA_OPTIONS -nw"</span>
@@ -545,8 +561,8 @@ You can install the generated emc script by doing
</div>
</div>
-<div id="outline-container-orge1f01d9" class="outline-2">
-<h2 id="orge1f01d9"><span class="section-number-2">4</span> Packages</h2>
+<div id="outline-container-orga6db268" class="outline-2">
+<h2 id="orga6db268"><span class="section-number-2">4</span> Packages</h2>
<div class="outline-text-2" id="text-4">
<p>
Now we can continue by loading our packages, those are listed according
@@ -554,8 +570,8 @@ to how important they are to me.
</p>
</div>
-<div id="outline-container-orgcaf9616" class="outline-3">
-<h3 id="orgcaf9616"><span class="section-number-3">4.1</span> Evil-mode</h3>
+<div id="outline-container-org564e468" class="outline-3">
+<h3 id="org564e468"><span class="section-number-3">4.1</span> Evil-mode</h3>
<div class="outline-text-3" id="text-4-1">
<p>
I am an old vim user, and I do not want to miss out on the beauty of vim
@@ -590,8 +606,8 @@ We didn't ask for the keybindings yet, because we are going to get the
</div>
</div>
-<div id="outline-container-orgb870493" class="outline-4">
-<h4 id="orgb870493"><span class="section-number-4">4.1.1</span> evil-surround</h4>
+<div id="outline-container-orgd2097e0" class="outline-4">
+<h4 id="orgd2097e0"><span class="section-number-4">4.1.1</span> evil-surround</h4>
<div class="outline-text-4" id="text-4-1-1">
<p>
I used to make use of vim-sandwich, but evil-surround will also
@@ -611,14 +627,14 @@ do the job well for me.
</div>
</div>
-<div id="outline-container-orgddccd2b" class="outline-3">
-<h3 id="orgddccd2b"><span class="section-number-3">4.2</span> Org-mode</h3>
+<div id="outline-container-org6f0eed6" class="outline-3">
+<h3 id="org6f0eed6"><span class="section-number-3">4.2</span> Org-mode</h3>
<div class="outline-text-3" id="text-4-2">
<p>
Org mode is one of the biggest reasons I am using Emacs, and it is a must
for me. These are my configurations. Starting with the obvious here. I am
currently trying to tweak portions of it from Bernt's configuration. See
-the <a href="#org5aabeeb">2.4</a> section.
+the <a href="#org264ec0c">2.4</a> section.
</p>
<div class="org-src-container">
@@ -676,8 +692,8 @@ the <a href="#org5aabeeb">2.4</a> section.
</div>
</div>
-<div id="outline-container-org28b0ac2" class="outline-4">
-<h4 id="org28b0ac2"><span class="section-number-4">4.2.1</span> evil-org</h4>
+<div id="outline-container-org819c781" class="outline-4">
+<h4 id="org819c781"><span class="section-number-4">4.2.1</span> evil-org</h4>
<div class="outline-text-4" id="text-4-2-1">
<p>
I am quite serious on this vim stuff now. I want it everywhere.
@@ -703,8 +719,8 @@ further.
</div>
</div>
-<div id="outline-container-org74bdb8c" class="outline-3">
-<h3 id="org74bdb8c"><span class="section-number-3">4.3</span> Magit</h3>
+<div id="outline-container-orgd9a704e" class="outline-3">
+<h3 id="orgd9a704e"><span class="section-number-3">4.3</span> Magit</h3>
<div class="outline-text-3" id="text-4-3">
<p>
I like magit, it is quite useful when you don't want to leave emacs and
@@ -720,8 +736,8 @@ along with it.
</div>
</div>
-<div id="outline-container-orga68cf7a" class="outline-4">
-<h4 id="orga68cf7a"><span class="section-number-4">4.3.1</span> evil-magit</h4>
+<div id="outline-container-org49386e1" class="outline-4">
+<h4 id="org49386e1"><span class="section-number-4">4.3.1</span> evil-magit</h4>
<div class="outline-text-4" id="text-4-3-1">
<div class="org-src-container">
<pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">evil-magit</span>
@@ -734,8 +750,8 @@ along with it.
</div>
</div>
-<div id="outline-container-org3ba81b9" class="outline-3">
-<h3 id="org3ba81b9"><span class="section-number-3">4.4</span> Flycheck</h3>
+<div id="outline-container-orgff09bf4" class="outline-3">
+<h3 id="orgff09bf4"><span class="section-number-3">4.4</span> Flycheck</h3>
<div class="outline-text-3" id="text-4-4">
<p>
I use flycheck for async syntax and error checking. It can be really useful
@@ -752,8 +768,8 @@ hacky and buggy on Vim.
</div>
</div>
-<div id="outline-container-org916d0d0" class="outline-3">
-<h3 id="org916d0d0"><span class="section-number-3">4.5</span> Company Mode</h3>
+<div id="outline-container-org0af1538" class="outline-3">
+<h3 id="org0af1538"><span class="section-number-3">4.5</span> Company Mode</h3>
<div class="outline-text-3" id="text-4-5">
<p>
Company is a tool that I am still very unfamiliar with. I used to
@@ -771,8 +787,8 @@ much yet. Pretty simple config.
</div>
</div>
-<div id="outline-container-org36e1e97" class="outline-4">
-<h4 id="org36e1e97"><span class="section-number-4">4.5.1</span> Company LSP</h4>
+<div id="outline-container-org8859b2c" class="outline-4">
+<h4 id="org8859b2c"><span class="section-number-4">4.5.1</span> Company LSP</h4>
<div class="outline-text-4" id="text-4-5-1">
<p>
I am using Company's own Language Server Protocol. It is good as
@@ -791,8 +807,8 @@ far as I can wrap my head-around.
</div>
</div>
-<div id="outline-container-org3fe8343" class="outline-3">
-<h3 id="org3fe8343"><span class="section-number-3">4.6</span> Mingus</h3>
+<div id="outline-container-org10d6c30" class="outline-3">
+<h3 id="org10d6c30"><span class="section-number-3">4.6</span> Mingus</h3>
<div class="outline-text-3" id="text-4-6">
<p>
Mingus is an <a href="https://musicpd.org">MPD</a> client for the Emacs operating system. It has a rather
@@ -806,8 +822,8 @@ simple, straightforward interface.
</div>
</div>
</div>
-<div id="outline-container-org2ec49b4" class="outline-3">
-<h3 id="org2ec49b4"><span class="section-number-3">4.7</span> Projectile</h3>
+<div id="outline-container-orgf2ebcbb" class="outline-3">
+<h3 id="orgf2ebcbb"><span class="section-number-3">4.7</span> Projectile</h3>
<div class="outline-text-3" id="text-4-7">
<div class="org-src-container">
<pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">projectile</span>
@@ -818,8 +834,8 @@ simple, straightforward interface.
</div>
</div>
</div>
-<div id="outline-container-org9750c92" class="outline-3">
-<h3 id="org9750c92"><span class="section-number-3">4.8</span> Treemacs</h3>
+<div id="outline-container-orgfa4cc86" class="outline-3">
+<h3 id="orgfa4cc86"><span class="section-number-3">4.8</span> Treemacs</h3>
<div class="outline-text-3" id="text-4-8">
<div class="org-src-container">
<pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">treemacs</span>
@@ -846,7 +862,7 @@ simple, straightforward interface.
</div>
<ol class="org-ol">
-<li><a id="org01549b1"></a>Keybindings<br />
+<li><a id="orgf392742"></a>Keybindings<br />
<div class="outline-text-5" id="text-4-8-0-1">
<p>
These tables are taken from the <a href="https://github.com/Alexander-Miller/treemacs">Treemacs Github page</a>
@@ -955,8 +971,8 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre
</ol>
</div>
-<div id="outline-container-org5adcd61" class="outline-3">
-<h3 id="org5adcd61"><span class="section-number-3">4.9</span> emacs-dashboard</h3>
+<div id="outline-container-orgb0b35e4" class="outline-3">
+<h3 id="orgb0b35e4"><span class="section-number-3">4.9</span> emacs-dashboard</h3>
<div class="outline-text-3" id="text-4-9">
<div class="org-src-container">
<pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">dashboard</span>
@@ -973,16 +989,16 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre
</div>
</div>
</div>
-<div id="outline-container-org918a97f" class="outline-3">
-<h3 id="org918a97f"><span class="section-number-3">4.10</span> Extras</h3>
+<div id="outline-container-org71bce10" class="outline-3">
+<h3 id="org71bce10"><span class="section-number-3">4.10</span> Extras</h3>
<div class="outline-text-3" id="text-4-10">
<p>
These don't really deserve their own sections, but I prefer to use them.
</p>
</div>
-<div id="outline-container-org1aa4eb7" class="outline-4">
-<h4 id="org1aa4eb7"><span class="section-number-4">4.10.1</span> sudo-edit</h4>
+<div id="outline-container-org3c5c540" class="outline-4">
+<h4 id="org3c5c540"><span class="section-number-4">4.10.1</span> sudo-edit</h4>
<div class="outline-text-4" id="text-4-10-1">
<p>
This is a package for re-initiating a file as root.
@@ -995,8 +1011,8 @@ This is a package for re-initiating a file as root.
</div>
</div>
-<div id="outline-container-orgb4c4f1a" class="outline-4">
-<h4 id="orgb4c4f1a"><span class="section-number-4">4.10.2</span> linum-relative</h4>
+<div id="outline-container-org60de7d6" class="outline-4">
+<h4 id="org60de7d6"><span class="section-number-4">4.10.2</span> linum-relative</h4>
<div class="outline-text-4" id="text-4-10-2">
<p>
I just like seeing the current line number and the relatives of
@@ -1013,8 +1029,8 @@ the other lines.
</div>
</div>
-<div id="outline-container-orgc64a7dc" class="outline-4">
-<h4 id="orgc64a7dc"><span class="section-number-4">4.10.3</span> markdown-mode</h4>
+<div id="outline-container-org31ce138" class="outline-4">
+<h4 id="org31ce138"><span class="section-number-4">4.10.3</span> markdown-mode</h4>
<div class="outline-text-4" id="text-4-10-3">
<p>
I sometimes use this to test the HTML output of markdown documents
@@ -1030,8 +1046,8 @@ that I write.
</div>
</div>
-<div id="outline-container-org6b8b4ac" class="outline-4">
-<h4 id="org6b8b4ac"><span class="section-number-4">4.10.4</span> htmlize</h4>
+<div id="outline-container-orgf21f971" class="outline-4">
+<h4 id="orgf21f971"><span class="section-number-4">4.10.4</span> htmlize</h4>
<div class="outline-text-4" id="text-4-10-4">
<p>
I sometimes output html from org-mode as it comes handy. We use htmlize for
@@ -1045,8 +1061,8 @@ that.
</div>
</div>
-<div id="outline-container-org4537689" class="outline-4">
-<h4 id="org4537689"><span class="section-number-4">4.10.5</span> toc-org</h4>
+<div id="outline-container-org8ea6cfa" class="outline-4">
+<h4 id="org8ea6cfa"><span class="section-number-4">4.10.5</span> toc-org</h4>
<div class="outline-text-4" id="text-4-10-5">
<p>
I want to have a basic table-of-contents generation on my org-files
@@ -1065,8 +1081,8 @@ Github README.
</div>
</div>
-<div id="outline-container-orgc6d5e65" class="outline-2">
-<h2 id="orgc6d5e65"><span class="section-number-2">5</span> Themes and Icons</h2>
+<div id="outline-container-org749236e" class="outline-2">
+<h2 id="org749236e"><span class="section-number-2">5</span> Themes and Icons</h2>
<div class="outline-text-2" id="text-5">
<p>
I used to make use of my Xresources themes, but I sometimes sadly
@@ -1075,8 +1091,8 @@ time.
</p>
</div>
-<div id="outline-container-org4a097da" class="outline-4">
-<h4 id="org4a097da"><span class="section-number-4">5.0.1</span> Doom themes</h4>
+<div id="outline-container-orga818a4b" class="outline-4">
+<h4 id="orga818a4b"><span class="section-number-4">5.0.1</span> Doom themes</h4>
<div class="outline-text-4" id="text-5-0-1">
<p>
I want to use the default doom-theme (perhaps I can switch to
@@ -1105,8 +1121,8 @@ The 'if' statement makes sure we have
</div>
</div>
-<div id="outline-container-org56ca1e6" class="outline-4">
-<h4 id="org56ca1e6"><span class="section-number-4">5.0.2</span> All the icons</h4>
+<div id="outline-container-orge71f362" class="outline-4">
+<h4 id="orge71f362"><span class="section-number-4">5.0.2</span> All the icons</h4>
<div class="outline-text-4" id="text-5-0-2">
<p>
All the icons is an icon-pack. I mean it probably isn't hard to
@@ -1121,8 +1137,8 @@ guess. Pretty straightforward.
</div>
</div>
</div>
-<div id="outline-container-orgeb60f9f" class="outline-2">
-<h2 id="orgeb60f9f"><span class="section-number-2">6</span> Filetype Configurations</h2>
+<div id="outline-container-orgb6e7f17" class="outline-2">
+<h2 id="orgb6e7f17"><span class="section-number-2">6</span> Filetype Configurations</h2>
<div class="outline-text-2" id="text-6">
<p>
I would like to have some different configurations for filetypes. Those
@@ -1130,8 +1146,8 @@ are for indents and spaces, mostly.
</p>
</div>
-<div id="outline-container-org8e705db" class="outline-3">
-<h3 id="org8e705db"><span class="section-number-3">6.1</span> Default Formatting</h3>
+<div id="outline-container-orgf947b39" class="outline-3">
+<h3 id="orgf947b39"><span class="section-number-3">6.1</span> Default Formatting</h3>
<div class="outline-text-3" id="text-6-1">
<p>
Here is the default formatting for most files. I don't like tabs as indents
@@ -1147,8 +1163,8 @@ so I avoid them wherever I can.
</div>
</div>
-<div id="outline-container-org8c0a013" class="outline-3">
-<h3 id="org8c0a013"><span class="section-number-3">6.2</span> Markdown</h3>
+<div id="outline-container-orgb4458cd" class="outline-3">
+<h3 id="orgb4458cd"><span class="section-number-3">6.2</span> Markdown</h3>
<div class="outline-text-3" id="text-6-2">
<p>
For markdown, I want to have 4 spaces as an indentation.
@@ -1165,8 +1181,8 @@ For markdown, I want to have 4 spaces as an indentation.
</div>
</div>
-<div id="outline-container-org2f68d82" class="outline-3">
-<h3 id="org2f68d82"><span class="section-number-3">6.3</span> Shell</h3>
+<div id="outline-container-org3f7a3ce" class="outline-3">
+<h3 id="org3f7a3ce"><span class="section-number-3">6.3</span> Shell</h3>
<div class="outline-text-3" id="text-6-3">
<p>
For shell, I want to have 4 spaces as an indentation.
@@ -1182,8 +1198,8 @@ For shell, I want to have 4 spaces as an indentation.
</div>
</div>
-<div id="outline-container-orgc70995b" class="outline-3">
-<h3 id="orgc70995b"><span class="section-number-3">6.4</span> Python</h3>
+<div id="outline-container-org3937ebd" class="outline-3">
+<h3 id="org3937ebd"><span class="section-number-3">6.4</span> Python</h3>
<div class="outline-text-3" id="text-6-4">
<p>
I use the django framework quite frequently at work. So I want a few packages
@@ -1191,8 +1207,8 @@ for that as well.
</p>
</div>
-<div id="outline-container-org6a6f1ae" class="outline-4">
-<h4 id="org6a6f1ae"><span class="section-number-4">6.4.1</span> Company jedi</h4>
+<div id="outline-container-org11ed92c" class="outline-4">
+<h4 id="org11ed92c"><span class="section-number-4">6.4.1</span> Company jedi</h4>
<div class="outline-text-4" id="text-6-4-1">
<p>
Company jedi is for better completion while I am editing python files. Here
@@ -1211,8 +1227,8 @@ is the use-package
</div>
</div>
</div>
-<div id="outline-container-orgd64f2f0" class="outline-2">
-<h2 id="orgd64f2f0"><span class="section-number-2">7</span> Other Settings</h2>
+<div id="outline-container-org69ec650" class="outline-2">
+<h2 id="org69ec650"><span class="section-number-2">7</span> Other Settings</h2>
<div class="outline-text-2" id="text-7">
<p>
Those are small settings for emacs that I cannot categorize but have importance
@@ -1220,8 +1236,8 @@ for me.
</p>
</div>
-<div id="outline-container-org954f061" class="outline-3">
-<h3 id="org954f061"><span class="section-number-3">7.1</span> Dired – ls dired</h3>
+<div id="outline-container-org54ac8be" class="outline-3">
+<h3 id="org54ac8be"><span class="section-number-3">7.1</span> Dired – ls dired</h3>
<div class="outline-text-3" id="text-7-1">
<p>
I use suckless.org's <code>sbase</code> as my coreutils. The <code>ls</code> program that I use does
@@ -1237,8 +1253,8 @@ not have a <code>--dired</code> option. Let's disable it.
</div>
</div>
-<div id="outline-container-org811e538" class="outline-3">
-<h3 id="org811e538"><span class="section-number-3">7.2</span> Coding System for Terminal</h3>
+<div id="outline-container-org62594fd" class="outline-3">
+<h3 id="org62594fd"><span class="section-number-3">7.2</span> Coding System for Terminal</h3>
<div class="outline-text-3" id="text-7-2">
<p>
I want emacs to use utf-8 so my terminal isn't filled with '?' characters.
@@ -1249,8 +1265,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters.
</div>
</div>
</div>
-<div id="outline-container-org291c9ae" class="outline-3">
-<h3 id="org291c9ae"><span class="section-number-3">7.3</span> Backup Options</h3>
+<div id="outline-container-orgd6b732c" class="outline-3">
+<h3 id="orgd6b732c"><span class="section-number-3">7.3</span> Backup Options</h3>
<div class="outline-text-3" id="text-7-3">
<div class="org-src-container">
<pre class="src src-emacs-lisp">(<span style="color: #51afef;">setq</span> backup-directory-alist `((<span style="color: #7bc275;">"."</span> . <span style="color: #7bc275;">"~/.cache/emacs/saves"</span>)))
@@ -1259,8 +1275,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters.
</div>
</div>
-<div id="outline-container-orge25b9bd" class="outline-3">
-<h3 id="orge25b9bd"><span class="section-number-3">7.4</span> Set Browser</h3>
+<div id="outline-container-org8699587" class="outline-3">
+<h3 id="org8699587"><span class="section-number-3">7.4</span> Set Browser</h3>
<div class="outline-text-3" id="text-7-4">
<p>
I am setting the default browser from the BROWSER environment variable
@@ -1277,15 +1293,15 @@ so that I don't have to keep track of it in case I ever change my browser.
</div>
</div>
</div>
-<div id="outline-container-orgc42cada" class="outline-2">
-<h2 id="orgc42cada"><span class="section-number-2">8</span> Notes</h2>
+<div id="outline-container-org02a634d" class="outline-2">
+<h2 id="org02a634d"><span class="section-number-2">8</span> Notes</h2>
<div class="outline-text-2" id="text-8">
</div>
-<div id="outline-container-org371b163" class="outline-3">
-<h3 id="org371b163"><span class="section-number-3">8.1</span> Reverting to package.el</h3>
+<div id="outline-container-org8b368e7" class="outline-3">
+<h3 id="org8b368e7"><span class="section-number-3">8.1</span> Reverting to package.el</h3>
<div class="outline-text-3" id="text-8-1">
<p>
-You can always revert back to <code>package.el</code> by replacing the <a href="#org77b6724">3.2</a>
+You can always revert back to <code>package.el</code> by replacing the <a href="#org2ce047a">3.2</a>
section with the following configuration steps. This can be for many reasons.
For example I have reverted to package.el on my old laptop where I don't want
deal with compilation, and I don't want to keep git repositories of every package
@@ -1294,8 +1310,8 @@ about the internals of straight.
</p>
</div>
-<div id="outline-container-org9f56d1a" class="outline-4">
-<h4 id="org9f56d1a"><span class="section-number-4">8.1.1</span> Replacing the bootstrap command</h4>
+<div id="outline-container-orgf87a990" class="outline-4">
+<h4 id="orgf87a990"><span class="section-number-4">8.1.1</span> Replacing the bootstrap command</h4>
<div class="outline-text-4" id="text-8-1-1">
<p>
You need to replace the <code>straight.el</code> package manager bootstrapper. This is
@@ -1323,8 +1339,8 @@ as it works with package.el
</div>
</div>
-<div id="outline-container-orgf9beef4" class="outline-4">
-<h4 id="orgf9beef4"><span class="section-number-4">8.1.2</span> Making use-package work with package.el</h4>
+<div id="outline-container-org22b140f" class="outline-4">
+<h4 id="org22b140f"><span class="section-number-4">8.1.2</span> Making use-package work with package.el</h4>
<div class="outline-text-4" id="text-8-1-2">
<p>
Now, replace the second code-block in the section with the following
@@ -1357,7 +1373,7 @@ run the following command.
</div>
<div id="postamble" class="status">
<p class="author">Author: Cem Keylan</p>
-<p class="date">Created: 2020-04-01 Wed 13:23</p>
+<p class="date">Created: 2020-04-02 Thu 02:30</p>
<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
diff --git a/init.org b/init.org
@@ -156,6 +156,16 @@ to install itself.
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
+ (require 'straight)
+#+END_SRC
+
+*** Straight default configurations
+
+I don't want straight to do complete clones of the package repositories I
+am building from.
+
+#+BEGIN_SRC emacs-lisp
+ (setq straight-vc-git-default-clone-depth 1)
#+END_SRC
*** use-package