commit 662ccd1affcfb9322c0f1549fdd75c501240ea86
parent 312266ec5f47ae7f2c269087a1c7107821dd12e3
Author: Cem Keylan <cem@ckyln.com>
Date: Wed, 1 Apr 2020 13:23:18 +0300
fix usage
Diffstat:
M | init.html | | | 297 | +++++++++++++++++++++++++++++++++++++++---------------------------------------- |
M | init.org | | | 11 | +++++------ |
2 files changed, 153 insertions(+), 155 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 11:15 -->
+<!-- 2020-04-01 Wed 13:23 -->
<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-org9e890a5" class="outline-2">
-<h2 id="org9e890a5"><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-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 class="outline-text-2" id="text-1">
<ul class="org-ul">
-<li><a href="#org8db7397">Intro</a>
+<li><a href="#orgdec0c7a">Intro</a>
<ul class="org-ul">
-<li><a href="#org59a42a6">Installation Instructions</a></li>
-<li><a href="#org355680f">Ignoring init.el changes on Git</a></li>
-<li><a href="#orged0c4a0">Meta</a></li>
-<li><a href="#orgdc432ec">Attribution</a></li>
+<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>
</ul></li>
-<li><a href="#org2392abb">Startup Settings</a>
+<li><a href="#orge73f93a">Startup Settings</a>
<ul class="org-ul">
-<li><a href="#org8291c60">Declutter</a></li>
-<li><a href="#orgba80cc9">Package management</a></li>
-<li><a href="#org6823d3d">Custom-file</a></li>
-<li><a href="#org0e9b72e">Private file</a></li>
-<li><a href="#orgffac746">Starting the server</a></li>
+<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>
</ul></li>
-<li><a href="#orgaff4b80">Packages</a>
+<li><a href="#orge1f01d9">Packages</a>
<ul class="org-ul">
-<li><a href="#org6bc4bc3">Evil-mode</a></li>
-<li><a href="#orgfa28a19">Org-mode</a></li>
-<li><a href="#orge8f53de">Magit</a></li>
-<li><a href="#org385d231">Flycheck</a></li>
-<li><a href="#orgb3bde59">Company Mode</a></li>
-<li><a href="#org00e3110">Mingus</a></li>
-<li><a href="#orgc69b80f">Projectile</a></li>
-<li><a href="#org571020c">Treemacs</a></li>
-<li><a href="#org399fbef">emacs-dashboard</a></li>
-<li><a href="#orgdfd1cb6">Extras</a></li>
+<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>
</ul></li>
-<li><a href="#org8a6a617">Themes and Icons</a></li>
-<li><a href="#orge3572f1">Filetype Configurations</a>
+<li><a href="#orgc6d5e65">Themes and Icons</a></li>
+<li><a href="#orgeb60f9f">Filetype Configurations</a>
<ul class="org-ul">
-<li><a href="#org857ee12">Default Formatting</a></li>
-<li><a href="#org33ccb7b">Markdown</a></li>
-<li><a href="#orgc9132b1">Shell</a></li>
-<li><a href="#orgd01a7b9">Python</a></li>
+<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>
</ul></li>
-<li><a href="#orgcc514c2">Other Settings</a>
+<li><a href="#orgd64f2f0">Other Settings</a>
<ul class="org-ul">
-<li><a href="#org47f9b60">Dired – ls dired</a></li>
-<li><a href="#orgeeb4ae5">Coding System for Terminal</a></li>
-<li><a href="#org100ab47">Backup Options</a></li>
-<li><a href="#orgad7b1a6">Set Browser</a></li>
+<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>
</ul></li>
-<li><a href="#orgaf19f0d">Notes</a>
+<li><a href="#orgc42cada">Notes</a>
<ul class="org-ul">
-<li><a href="#orgcac01c1">Reverting to package.el</a></li>
+<li><a href="#org371b163">Reverting to package.el</a></li>
</ul></li>
</ul>
</div>
</div>
-<div id="outline-container-org8db7397" class="outline-2">
-<h2 id="org8db7397"><span class="section-number-2">2</span> Intro</h2>
+<div id="outline-container-orgdec0c7a" class="outline-2">
+<h2 id="orgdec0c7a"><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-org59a42a6" class="outline-3">
-<h3 id="org59a42a6"><span class="section-number-3">2.1</span> Installation Instructions</h3>
+<div id="outline-container-org8042c9c" class="outline-3">
+<h3 id="org8042c9c"><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-org355680f" class="outline-3">
-<h3 id="org355680f"><span class="section-number-3">2.2</span> Ignoring init.el changes on Git</h3>
+<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 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-orged0c4a0" class="outline-3">
-<h3 id="orged0c4a0"><span class="section-number-3">2.3</span> Meta</h3>
+<div id="outline-container-orge788d46" class="outline-3">
+<h3 id="orge788d46"><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-orgdc432ec" class="outline-3">
-<h3 id="orgdc432ec"><span class="section-number-3">2.4</span> Attribution</h3>
+<div id="outline-container-org5aabeeb" class="outline-3">
+<h3 id="org5aabeeb"><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-org2392abb" class="outline-2">
-<h2 id="org2392abb"><span class="section-number-2">3</span> Startup Settings</h2>
+<div id="outline-container-orge73f93a" class="outline-2">
+<h2 id="orge73f93a"><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-org8291c60" class="outline-3">
-<h3 id="org8291c60"><span class="section-number-3">3.1</span> Declutter</h3>
+<div id="outline-container-org5ffe37b" class="outline-3">
+<h3 id="org5ffe37b"><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-orgba80cc9" class="outline-3">
-<h3 id="orgba80cc9"><span class="section-number-3">3.2</span> Package management</h3>
+<div id="outline-container-org77b6724" class="outline-3">
+<h3 id="org77b6724"><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.
@@ -445,8 +445,8 @@ to install itself.
</div>
</div>
-<div id="outline-container-orgb4f8e90" class="outline-4">
-<h4 id="orgb4f8e90"><span class="section-number-4">3.2.1</span> use-package</h4>
+<div id="outline-container-org9f6aac7" class="outline-4">
+<h4 id="org9f6aac7"><span class="section-number-4">3.2.1</span> use-package</h4>
<div class="outline-text-4" id="text-3-2-1">
<p>
We need use-package for maintaining other packages.
@@ -461,8 +461,8 @@ We need use-package for maintaining other packages.
</div>
</div>
-<div id="outline-container-org6823d3d" class="outline-3">
-<h3 id="org6823d3d"><span class="section-number-3">3.3</span> Custom-file</h3>
+<div id="outline-container-org15f34ce" class="outline-3">
+<h3 id="org15f34ce"><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 +486,8 @@ Let's load the custom-file if it is there
</div>
</div>
-<div id="outline-container-org0e9b72e" class="outline-3">
-<h3 id="org0e9b72e"><span class="section-number-3">3.4</span> Private file</h3>
+<div id="outline-container-orgb8a05f2" class="outline-3">
+<h3 id="orgb8a05f2"><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 +503,15 @@ Let's load a private file if it exists
</div>
</div>
</div>
-<div id="outline-container-orgffac746" class="outline-3">
-<h3 id="orgffac746"><span class="section-number-3">3.5</span> Starting the server</h3>
+<div id="outline-container-org9350afa" class="outline-3">
+<h3 id="org9350afa"><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="orgb43c257"><span style="color: #62686E;">#</span><span style="color: #62686E;">!/bin/</span><span style="color: #51afef;">sh</span>
+<pre class="src src-sh" id="orgdd5c93b"><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 +545,8 @@ You can install the generated emc script by doing
</div>
</div>
-<div id="outline-container-orgaff4b80" class="outline-2">
-<h2 id="orgaff4b80"><span class="section-number-2">4</span> Packages</h2>
+<div id="outline-container-orge1f01d9" class="outline-2">
+<h2 id="orge1f01d9"><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 +554,8 @@ to how important they are to me.
</p>
</div>
-<div id="outline-container-org6bc4bc3" class="outline-3">
-<h3 id="org6bc4bc3"><span class="section-number-3">4.1</span> Evil-mode</h3>
+<div id="outline-container-orgcaf9616" class="outline-3">
+<h3 id="orgcaf9616"><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 +590,8 @@ We didn't ask for the keybindings yet, because we are going to get the
</div>
</div>
-<div id="outline-container-org85bfc80" class="outline-4">
-<h4 id="org85bfc80"><span class="section-number-4">4.1.1</span> evil-surround</h4>
+<div id="outline-container-orgb870493" class="outline-4">
+<h4 id="orgb870493"><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,22 +611,21 @@ do the job well for me.
</div>
</div>
-<div id="outline-container-orgfa28a19" class="outline-3">
-<h3 id="orgfa28a19"><span class="section-number-3">4.2</span> Org-mode</h3>
+<div id="outline-container-orgddccd2b" class="outline-3">
+<h3 id="orgddccd2b"><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="#orgdc432ec">2.4</a> section.
+the <a href="#org5aabeeb">2.4</a> section.
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">org</span>
-<span style="color: #C57BDB;">:straight</span> t
-<span style="color: #C57BDB;">:requires</span> (ox-md ox-man)
-<span style="color: #C57BDB;">:defines</span> personal-keybindings
+<span style="color: #C57BDB;">:straight</span> org-plus-contrib
<span style="color: #C57BDB;">:functions</span> org-babel-tangle
+<span style="color: #C57BDB;">:after</span> evil
<span style="color: #C57BDB;">:bind</span> ((<span style="color: #7bc275;">"C-c l"</span> . org-store-link)
(<span style="color: #7bc275;">"C-c a"</span> . org-agenda)
(<span style="color: #7bc275;">"C-c c"</span> . org-capture))
@@ -677,8 +676,8 @@ the <a href="#orgdc432ec">2.4</a> section.
</div>
</div>
-<div id="outline-container-orga0a64a8" class="outline-4">
-<h4 id="orga0a64a8"><span class="section-number-4">4.2.1</span> evil-org</h4>
+<div id="outline-container-org28b0ac2" class="outline-4">
+<h4 id="org28b0ac2"><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.
@@ -687,11 +686,11 @@ I am quite serious on this vim stuff now. I want it everywhere.
<div class="org-src-container">
<pre class="src src-emacs-lisp">(<span style="color: #51afef;">use-package</span> <span style="color: #a991f1;">evil-org</span>
<span style="color: #C57BDB;">:straight</span> t
- <span style="color: #C57BDB;">:requires</span> (evil org evil-org-agenda)
<span style="color: #C57BDB;">:after</span> (evil org)
<span style="color: #C57BDB;">:functions</span> evil-org-agenda-set-keys
- <span style="color: #C57BDB;">:hook</span> org-mode
+ <span style="color: #C57BDB;">:hook</span> (org-mode . evil-org-mode)
<span style="color: #C57BDB;">:config</span>
+ (<span style="color: #51afef;">require</span> '<span style="color: #a991f1;">evil-org-agenda</span>)
(evil-org-agenda-set-keys))
</pre>
</div>
@@ -704,8 +703,8 @@ further.
</div>
</div>
-<div id="outline-container-orge8f53de" class="outline-3">
-<h3 id="orge8f53de"><span class="section-number-3">4.3</span> Magit</h3>
+<div id="outline-container-org74bdb8c" class="outline-3">
+<h3 id="org74bdb8c"><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
@@ -721,13 +720,13 @@ along with it.
</div>
</div>
-<div id="outline-container-org59290b2" class="outline-4">
-<h4 id="org59290b2"><span class="section-number-4">4.3.1</span> evil-magit</h4>
+<div id="outline-container-orga68cf7a" class="outline-4">
+<h4 id="orga68cf7a"><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>
<span style="color: #C57BDB;">:straight</span> t
- <span style="color: #C57BDB;">:requires</span> (evil magit)
+ <span style="color: #C57BDB;">:after</span> (evil magit)
<span style="color: #C57BDB;">:config</span> (evil-magit-init))
</pre>
</div>
@@ -735,8 +734,8 @@ along with it.
</div>
</div>
-<div id="outline-container-org385d231" class="outline-3">
-<h3 id="org385d231"><span class="section-number-3">4.4</span> Flycheck</h3>
+<div id="outline-container-org3ba81b9" class="outline-3">
+<h3 id="org3ba81b9"><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
@@ -753,8 +752,8 @@ hacky and buggy on Vim.
</div>
</div>
-<div id="outline-container-orgb3bde59" class="outline-3">
-<h3 id="orgb3bde59"><span class="section-number-3">4.5</span> Company Mode</h3>
+<div id="outline-container-org916d0d0" class="outline-3">
+<h3 id="org916d0d0"><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
@@ -772,8 +771,8 @@ much yet. Pretty simple config.
</div>
</div>
-<div id="outline-container-org2ee06a2" class="outline-4">
-<h4 id="org2ee06a2"><span class="section-number-4">4.5.1</span> Company LSP</h4>
+<div id="outline-container-org36e1e97" class="outline-4">
+<h4 id="org36e1e97"><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
@@ -792,8 +791,8 @@ far as I can wrap my head-around.
</div>
</div>
-<div id="outline-container-org00e3110" class="outline-3">
-<h3 id="org00e3110"><span class="section-number-3">4.6</span> Mingus</h3>
+<div id="outline-container-org3fe8343" class="outline-3">
+<h3 id="org3fe8343"><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
@@ -807,8 +806,8 @@ simple, straightforward interface.
</div>
</div>
</div>
-<div id="outline-container-orgc69b80f" class="outline-3">
-<h3 id="orgc69b80f"><span class="section-number-3">4.7</span> Projectile</h3>
+<div id="outline-container-org2ec49b4" class="outline-3">
+<h3 id="org2ec49b4"><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>
@@ -819,8 +818,8 @@ simple, straightforward interface.
</div>
</div>
</div>
-<div id="outline-container-org571020c" class="outline-3">
-<h3 id="org571020c"><span class="section-number-3">4.8</span> Treemacs</h3>
+<div id="outline-container-org9750c92" class="outline-3">
+<h3 id="org9750c92"><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>
@@ -847,7 +846,7 @@ simple, straightforward interface.
</div>
<ol class="org-ol">
-<li><a id="org6baba1b"></a>Keybindings<br />
+<li><a id="org01549b1"></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>
@@ -956,8 +955,8 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre
</ol>
</div>
-<div id="outline-container-org399fbef" class="outline-3">
-<h3 id="org399fbef"><span class="section-number-3">4.9</span> emacs-dashboard</h3>
+<div id="outline-container-org5adcd61" class="outline-3">
+<h3 id="org5adcd61"><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>
@@ -974,16 +973,16 @@ These tables are taken from the <a href="https://github.com/Alexander-Miller/tre
</div>
</div>
</div>
-<div id="outline-container-orgdfd1cb6" class="outline-3">
-<h3 id="orgdfd1cb6"><span class="section-number-3">4.10</span> Extras</h3>
+<div id="outline-container-org918a97f" class="outline-3">
+<h3 id="org918a97f"><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-org40c88da" class="outline-4">
-<h4 id="org40c88da"><span class="section-number-4">4.10.1</span> sudo-edit</h4>
+<div id="outline-container-org1aa4eb7" class="outline-4">
+<h4 id="org1aa4eb7"><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.
@@ -996,8 +995,8 @@ This is a package for re-initiating a file as root.
</div>
</div>
-<div id="outline-container-org7c8c115" class="outline-4">
-<h4 id="org7c8c115"><span class="section-number-4">4.10.2</span> linum-relative</h4>
+<div id="outline-container-orgb4c4f1a" class="outline-4">
+<h4 id="orgb4c4f1a"><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
@@ -1014,8 +1013,8 @@ the other lines.
</div>
</div>
-<div id="outline-container-org49ef259" class="outline-4">
-<h4 id="org49ef259"><span class="section-number-4">4.10.3</span> markdown-mode</h4>
+<div id="outline-container-orgc64a7dc" class="outline-4">
+<h4 id="orgc64a7dc"><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
@@ -1031,8 +1030,8 @@ that I write.
</div>
</div>
-<div id="outline-container-orgab6456b" class="outline-4">
-<h4 id="orgab6456b"><span class="section-number-4">4.10.4</span> htmlize</h4>
+<div id="outline-container-org6b8b4ac" class="outline-4">
+<h4 id="org6b8b4ac"><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
@@ -1046,8 +1045,8 @@ that.
</div>
</div>
-<div id="outline-container-org06121fe" class="outline-4">
-<h4 id="org06121fe"><span class="section-number-4">4.10.5</span> toc-org</h4>
+<div id="outline-container-org4537689" class="outline-4">
+<h4 id="org4537689"><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
@@ -1066,8 +1065,8 @@ Github README.
</div>
</div>
-<div id="outline-container-org8a6a617" class="outline-2">
-<h2 id="org8a6a617"><span class="section-number-2">5</span> Themes and Icons</h2>
+<div id="outline-container-orgc6d5e65" class="outline-2">
+<h2 id="orgc6d5e65"><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
@@ -1076,8 +1075,8 @@ time.
</p>
</div>
-<div id="outline-container-orgaa4ebac" class="outline-4">
-<h4 id="orgaa4ebac"><span class="section-number-4">5.0.1</span> Doom themes</h4>
+<div id="outline-container-org4a097da" class="outline-4">
+<h4 id="org4a097da"><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
@@ -1106,8 +1105,8 @@ The 'if' statement makes sure we have
</div>
</div>
-<div id="outline-container-org2f7362d" class="outline-4">
-<h4 id="org2f7362d"><span class="section-number-4">5.0.2</span> All the icons</h4>
+<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 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
@@ -1122,8 +1121,8 @@ guess. Pretty straightforward.
</div>
</div>
</div>
-<div id="outline-container-orge3572f1" class="outline-2">
-<h2 id="orge3572f1"><span class="section-number-2">6</span> Filetype Configurations</h2>
+<div id="outline-container-orgeb60f9f" class="outline-2">
+<h2 id="orgeb60f9f"><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
@@ -1131,8 +1130,8 @@ are for indents and spaces, mostly.
</p>
</div>
-<div id="outline-container-org857ee12" class="outline-3">
-<h3 id="org857ee12"><span class="section-number-3">6.1</span> Default Formatting</h3>
+<div id="outline-container-org8e705db" class="outline-3">
+<h3 id="org8e705db"><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
@@ -1148,8 +1147,8 @@ so I avoid them wherever I can.
</div>
</div>
-<div id="outline-container-org33ccb7b" class="outline-3">
-<h3 id="org33ccb7b"><span class="section-number-3">6.2</span> Markdown</h3>
+<div id="outline-container-org8c0a013" class="outline-3">
+<h3 id="org8c0a013"><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.
@@ -1166,8 +1165,8 @@ For markdown, I want to have 4 spaces as an indentation.
</div>
</div>
-<div id="outline-container-orgc9132b1" class="outline-3">
-<h3 id="orgc9132b1"><span class="section-number-3">6.3</span> Shell</h3>
+<div id="outline-container-org2f68d82" class="outline-3">
+<h3 id="org2f68d82"><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.
@@ -1183,8 +1182,8 @@ For shell, I want to have 4 spaces as an indentation.
</div>
</div>
-<div id="outline-container-orgd01a7b9" class="outline-3">
-<h3 id="orgd01a7b9"><span class="section-number-3">6.4</span> Python</h3>
+<div id="outline-container-orgc70995b" class="outline-3">
+<h3 id="orgc70995b"><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
@@ -1192,8 +1191,8 @@ for that as well.
</p>
</div>
-<div id="outline-container-org02cc486" class="outline-4">
-<h4 id="org02cc486"><span class="section-number-4">6.4.1</span> Company jedi</h4>
+<div id="outline-container-org6a6f1ae" class="outline-4">
+<h4 id="org6a6f1ae"><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
@@ -1212,8 +1211,8 @@ is the use-package
</div>
</div>
</div>
-<div id="outline-container-orgcc514c2" class="outline-2">
-<h2 id="orgcc514c2"><span class="section-number-2">7</span> Other Settings</h2>
+<div id="outline-container-orgd64f2f0" class="outline-2">
+<h2 id="orgd64f2f0"><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
@@ -1221,8 +1220,8 @@ for me.
</p>
</div>
-<div id="outline-container-org47f9b60" class="outline-3">
-<h3 id="org47f9b60"><span class="section-number-3">7.1</span> Dired – ls dired</h3>
+<div id="outline-container-org954f061" class="outline-3">
+<h3 id="org954f061"><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
@@ -1238,8 +1237,8 @@ not have a <code>--dired</code> option. Let's disable it.
</div>
</div>
-<div id="outline-container-orgeeb4ae5" class="outline-3">
-<h3 id="orgeeb4ae5"><span class="section-number-3">7.2</span> Coding System for Terminal</h3>
+<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 class="outline-text-3" id="text-7-2">
<p>
I want emacs to use utf-8 so my terminal isn't filled with '?' characters.
@@ -1250,8 +1249,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters.
</div>
</div>
</div>
-<div id="outline-container-org100ab47" class="outline-3">
-<h3 id="org100ab47"><span class="section-number-3">7.3</span> Backup Options</h3>
+<div id="outline-container-org291c9ae" class="outline-3">
+<h3 id="org291c9ae"><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>)))
@@ -1260,8 +1259,8 @@ I want emacs to use utf-8 so my terminal isn't filled with '?' characters.
</div>
</div>
-<div id="outline-container-orgad7b1a6" class="outline-3">
-<h3 id="orgad7b1a6"><span class="section-number-3">7.4</span> Set Browser</h3>
+<div id="outline-container-orge25b9bd" class="outline-3">
+<h3 id="orge25b9bd"><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
@@ -1278,15 +1277,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-orgaf19f0d" class="outline-2">
-<h2 id="orgaf19f0d"><span class="section-number-2">8</span> Notes</h2>
+<div id="outline-container-orgc42cada" class="outline-2">
+<h2 id="orgc42cada"><span class="section-number-2">8</span> Notes</h2>
<div class="outline-text-2" id="text-8">
</div>
-<div id="outline-container-orgcac01c1" class="outline-3">
-<h3 id="orgcac01c1"><span class="section-number-3">8.1</span> Reverting to package.el</h3>
+<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 class="outline-text-3" id="text-8-1">
<p>
-You can always revert back to <code>package.el</code> by replacing the <a href="#orgba80cc9">3.2</a>
+You can always revert back to <code>package.el</code> by replacing the <a href="#org77b6724">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
@@ -1295,8 +1294,8 @@ about the internals of straight.
</p>
</div>
-<div id="outline-container-org7e5c23a" class="outline-4">
-<h4 id="org7e5c23a"><span class="section-number-4">8.1.1</span> Replacing the bootstrap command</h4>
+<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 class="outline-text-4" id="text-8-1-1">
<p>
You need to replace the <code>straight.el</code> package manager bootstrapper. This is
@@ -1324,8 +1323,8 @@ as it works with package.el
</div>
</div>
-<div id="outline-container-orgc8b0a99" class="outline-4">
-<h4 id="orgc8b0a99"><span class="section-number-4">8.1.2</span> Making use-package work with package.el</h4>
+<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 class="outline-text-4" id="text-8-1-2">
<p>
Now, replace the second code-block in the section with the following
@@ -1358,7 +1357,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 11:15</p>
+<p class="date">Created: 2020-04-01 Wed 13:23</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
@@ -280,10 +280,9 @@ the [[Attribution]] section.
#+BEGIN_SRC emacs-lisp
(use-package org
- :straight t
- :requires (ox-md ox-man)
- :defines personal-keybindings
+ :straight org-plus-contrib
:functions org-babel-tangle
+ :after evil
:bind (("C-c l" . org-store-link)
("C-c a" . org-agenda)
("C-c c" . org-capture))
@@ -339,11 +338,11 @@ I am quite serious on this vim stuff now. I want it everywhere.
#+BEGIN_SRC emacs-lisp
(use-package evil-org
:straight t
- :requires (evil org evil-org-agenda)
:after (evil org)
:functions evil-org-agenda-set-keys
- :hook org-mode
+ :hook (org-mode . evil-org-mode)
:config
+ (require 'evil-org-agenda)
(evil-org-agenda-set-keys))
#+END_SRC
@@ -367,7 +366,7 @@ along with it.
#+BEGIN_SRC emacs-lisp
(use-package evil-magit
:straight t
- :requires (evil magit)
+ :after (evil magit)
:config (evil-magit-init))
#+END_SRC